home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / pcvt83.arc / PC-VT.DOC < prev    next >
Encoding:
Text File  |  1985-10-24  |  274.5 KB  |  7,723 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                        PC-VT -  VT100/102/52 Terminal Emulator
  18.  
  19.                       (C) Copyright 1984,1985 Mark C. DiVecchio
  20.  
  21.                                      Version 8.3
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.           Forward
  78.  
  79.  
  80.             Many trademarks are used through out this document.  They are:
  81.  
  82.                           IBM and IBM PC are trademarks of
  83.                           International Business Machines Corporation.
  84.  
  85.                           DEC, VMS, VAX and VT are trademarks of
  86.                           Digital Equipment Corporation.
  87.  
  88.                           Smartmodem is a trademark of Hayes Microcomputer
  89.                           Products.
  90.  
  91.                           UNIX is a trademark of AT&T Bell Laboratories Inc.
  92.  
  93.                           Kermit is a trademark of Henson Associates, Inc.
  94.  
  95.             For more details on the operation  of a VT102 or a VT100, refer
  96.           to the  VT102  and  VT100 Video Terminal User Guides published by
  97.           Digital Equipment Corp, Educational Services Department, Maynard,
  98.           Massachusetts 01754.
  99.  
  100.             Kermit   was  developed  at  Columbia  University  Center   for
  101.           Computing Activities by Frank da Cruz,  Daphne  Tzoar,  and  Bill
  102.           Catchings and is included here because imitation is the sincerest
  103.           form of flattery.
  104.  
  105.             Throughout  this document, hexidecimal numbers are followed  by
  106.           the letter "H".  All other numbers are decimal.   Also, the ENTER
  107.           key  on  the keyboard sends a carriage return character  -  ASCII
  108.           code 13. A  carriage  return  function  moves  the  cursor to the
  109.           beginning of  the  current  line.   "ESC"  refers  to  the  ASCII
  110.           character whose decimal value is 27.
  111.  
  112.             The word "frame" is  used  to  mean what you see on the screen.
  113.           It is a collection of words and  symbols  providing  information.
  114.           The word "display" is used to mean the screen itself or  the  act
  115.           of causing characters to be shown on the screen.
  116.  
  117.             For  the  latest  news  about  PC-VT,  read  the  file  on  the
  118.           distribution diskette named READ.ME.
  119.  
  120.             PC-VT WARRANTY
  121.  
  122.             This program is provided on  an  "as is" basis without warranty
  123.           of any kind, expressed or  implied,  including but not limited to
  124.           the  implied  warranties  of  merchantability and fitness  for  a
  125.           particular  purpose.   The  entire   risk   as   to  quality  and
  126.           performance of this program is  with  you.   Should  the  program
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           prove defective, you assume the  entire  cost  of  all  necessary
  140.           repair, servicing, or correction.  In no event will the author be
  141.           liable to you for any  damages,  including any lost profits, lost
  142.           savings, or other incidental or consequential damages arising out
  143.           of the use or inability to use this program.  This warranty gives
  144.           you specific  legal  rights,  and you may have other rights which
  145.           may vary from state  to  state.   Some  states  do  not allow the
  146.           exclusion of implied warranties or  exclusion  of  liability  for
  147.           incidental or consequential damages so the above may not apply to
  148.           you.   You   acknowledge  that  you  have  read  this  agreement,
  149.           understand  it,  and  agree  to   be   bound  by  its  terms  and
  150.           conditions.  You further  agree  that  it  is  the  complete  and
  151.           exclusive statement of the agreement between us, which supercedes
  152.           any proposal or prior agreement,  oral  or written, and any other
  153.           communications between us.
  154.  
  155.             THANKS
  156.  
  157.             Your feedback  helps  make  PC-VT  a  better  and  more  useful
  158.           program.  If you have any ideas or  comments, please send them to
  159.           the address below.
  160.  
  161.                                   Mark C. DiVecchio
  162.                                   9067 Hillery Drive
  163.                                  San Diego, CA 92126
  164.  
  165.                                      619-566-6810
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                         Copyright 1984,1985 Mark C. DiVecchio        Page 3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.           PC-VT v8.3                                           Introduction
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.                                       Chapter 1
  213.  
  214.                                      Introduction
  215.  
  216.  
  217.  
  218.             PC-VT is a software emulator which makes the IBM PC function as
  219.           a  DEC  VT102 or a VT100 Video Terminal.  Selection  of  terminal
  220.           type is made in the SETUP  B frame (Chapter 6). PC-VT defaults to
  221.           VT102 emulation.  PC-VT also supports VT52 compatibility mode.
  222.  
  223.             PC-VT emulates the majority of the functions of the  VT100/102.
  224.           Because  of  either  hardware  limitations  of  the  IBM  PC   or
  225.           limitations of  PC-DOS, some functions cannot be emulated.  Other
  226.           functions have been slightly modified.  Throughout this document,
  227.           references  are  made  to  these  changes  and deletions.   PC-VT
  228.           handles all of the necessary functions to perform  as a VT100/102
  229.           emulator.  The vast majority of users  will  never  notice  these
  230.           hardware and PC-DOS mandated changes.
  231.  
  232.             The typical user will only need to read Chapters 2 through 5 of
  233.           this  manual.   Chapter  6  is  only  necessary  if  any  of  the
  234.           selectable  features  need   to   be  changed  from  the  default
  235.           settings.  PC-VT comes pre-configured for the most popular set of
  236.           features.  Communications parameters default to 1200 baud, 8 data
  237.           bits,  no  parity and  1  stop  bit.   Chapter  7  describes  the
  238.           VT100/102  "USER  MEMORY" which PC-VT emulates  by  creating  and
  239.           using  a  disk  file.   Chapter  8  describes  the  Receive  File
  240.           (Download)  and  Transmit  File  (Upload)  features.   Chapter  9
  241.           describes the use of the Dialing facility which  is Hayes command
  242.           compatible.  The macro key facility is described in  chapter  11.
  243.           The more sophisticated user will find that the  Appendices give a
  244.           complete description of the internal workings of PC-VT.
  245.  
  246.             DOS path names are supported for  upload/download  if  you  are
  247.           using DOS 2 or later.
  248.  
  249.             -  Here is a brief list of the functions handled by PC-VT.
  250.  
  251.                  *  Emulates both VT100 and VT102 Terminals.  Emulates VT52
  252.                     compatibility Mode of the VT100.
  253.  
  254.                  *  Communication  over an RS232 port configured as  either
  255.                     COM1 or COM2 selectable from the SETUP frame.
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                         Copyright 1984,1985 Mark C. DiVecchio        Page 1
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.           Introduction                                           PC-VT v8.3
  269.  
  270.  
  271.  
  272.                  *  Communications support for all of the popular baud rate
  273.                     and data bit/parity bit combinations.
  274.  
  275.                  *  On  line  HELP by pressing the ALT-H key while  in  the
  276.                     communications, SETUP, DIALING, or MACRO frames.
  277.  
  278.                  *  Fast screen update for PC's  with  the  color  graphics
  279.                     display card.  Known as "snow" update.  Separate option
  280.                     to select use of fast screen  mode  known  as  DMA  for
  281.                     screen  saves  and  restores  only and not  for  normal
  282.                     character display.
  283.  
  284.                  *  Select either a VMS or UNIX host.  PC-VT  supports  EDT
  285.                     under VMS mode and VI under UNIX mode.
  286.  
  287.                  *  Full Duplex with no EIA modem control.  Only data leads
  288.                     have to be connected (FDX A mode).   Suitable  for  use
  289.                                                                           1
  290.                     with  a  null modem (direct) connection  to  the  host
  291.                     computer or with a modem which does not  require  modem
  292.                     control signals.
  293.  
  294.                  *  VT52 Compatibility Mode.
  295.  
  296.                  *  Support  for  Hayes  dialing commands  and  includes  a
  297.                     Dialing Directory with 10 entries.  Each entry contains
  298.                     not only phone numbers and dialing commands but also  a
  299.                     complete copy of the USER MEMORY file  with  which  you
  300.                     can customize PC-VT  for  each  host.  These customized
  301.                     USER MEMORIES,  are  automatically  loaded  when  PC-VT
  302.                     dials the phone number.
  303.  
  304.                  *  ALT-F1 thru ALT-F10 as Macro keys.
  305.  
  306.                  *  Full receive parity checking can be enabled.
  307.  
  308.                  *  Both Numeric and Application Keypad modes.
  309.  
  310.                  *  Full cursor control.
  311.  
  312.                  *  Full  feature  Upload  and  Download  file  capability.
  313.                     ASCII, XMODEM (CRC capable),  and Kermit are supported.
  314.                     Path name support is included if you are using DOS 2 or
  315.                     later.   ASCII  file  upload  includes  a   "handshake"
  316.                     capability to compensate for slow host systems.
  317.  
  318.  
  319.  
  320.           ----------
  321.  
  322.           1. Throughout  this  manual,  the host refers to the computer "on
  323.           the other end of the line" with which PC-VT is communicating.
  324.  
  325.  
  326.  
  327.           Page 2        Copyright 1984,1985 Mark C. DiVecchio
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.           PC-VT v8.3                                           Introduction
  335.  
  336.  
  337.  
  338.                  *  Capability to transmit a sustained Break.
  339.  
  340.                  *  NO SCROLL key XON/XOFF support.
  341.  
  342.                  *  Connection of a printer as LPT1 or LPT2 including local
  343.                     print screen operations.
  344.  
  345.                  *  Capability to  echo all displayed characters to LPT1 or
  346.                     LPT2 as hardcopy record of a terminal session.
  347.  
  348.                  *  Using  special  ALT key keystrokes, access  to  several
  349.                     special function procedures.
  350.  
  351.                  *  SETUP A and SETUP B frames.
  352.  
  353.                  *  Full XON/XOFF support for both transmit and receive.
  354.  
  355.                  *  ON LINE, LED "Lx" and KBD LOCKED lights  are  supported
  356.                     via the use of line 25 of the PC's screen as  a  Status
  357.                     Line.  (4 LED are supported for the VT100 emulation,  1
  358.                     for the VT102.)
  359.  
  360.                  *  Run DOS functions or other programs without terminating
  361.                     PC-VT  or  disconnecting  from  the  host  by  pressing
  362.                     ALT-F.  Especially useful since  PC-VT will monitor the
  363.                     communications line and save  all  characters  received
  364.                     while you  are running other programs.  When you return
  365.                     to  PC-VT,   it   will   then   display   the  received
  366.                     information.
  367.  
  368.                  *  Use of the environment string 'PC-VT=' in order to find
  369.                     the parameter files.
  370.  
  371.                  *  PC-VT  supports   buffer   sizes   of   256   and  2048
  372.                     characters.  The smaller buffers give  faster  response
  373.                     to interrupts to the host while the larger size reduces
  374.                     XON/XOFF handshaking.
  375.  
  376.             -  Here is a brief list of what PC-VT can not handle.
  377.  
  378.                  *  Half duplex  modes  (HDX  A and HDX B) and special full
  379.                     duplex modes (FDX B and FDX C).
  380.  
  381.                  *  Features   used   only   in   these    non    supported
  382.                     communications modes.
  383.  
  384.                  *  Test and Adjustments Escape sequences.
  385.  
  386.                  *  Certain  display  attribute  handling  for  normal  and
  387.                     reverse  video.   The IBM PC does  not  handle  reverse
  388.                     video (black on white) the same way as  the  VT100/102.
  389.                     The differences are detailed  throughout  this  manual.
  390.  
  391.  
  392.  
  393.                         Copyright 1984,1985 Mark C. DiVecchio        Page 3
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.           Introduction                                           PC-VT v8.3
  401.  
  402.  
  403.  
  404.                     (In particular,  the underscore on PC's using the color
  405.                     graphics  display  card  is  displayed  with  bold  and
  406.                     blinking attributes.)
  407.  
  408.                  *  As mentioned earlier, functions with no IBM PC hardware
  409.                     such as  Smooth Scroll mode, 132 column mode, Alternate
  410.                     Character ROM modes, and double height/width  character
  411.                     modes.
  412.  
  413.             As an aid to  the  user  of PC-VT, PC-VT uses the speaker built
  414.           into the IBM PC to indicate attempted illegal operations.   PC-VT
  415.           beeps under the following conditions:
  416.  
  417.             1.  when the keyboard has been locked  by the host and a key is
  418.                 typed,
  419.  
  420.             2.  when an undefined key is pressed on the keyboard,
  421.  
  422.             3.  when a control character of ASCII 7 (Bell) is received,
  423.  
  424.             4.  when the  host  tries to output to the line printer and the
  425.                 line printer is not ready.
  426.  
  427.             5.  when an attempt is made to perform an  illegal or undefined
  428.                 operation in the SETUP, DIALING or MACRO frames, and
  429.  
  430.             6.  when the  MODEM has lost communications or cannot transmit,
  431.                 PC-VT times out  after  trying  to  send  a  character  for
  432.                 one-half second.
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.           Page 4        Copyright 1984,1985 Mark C. DiVecchio
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.           PC-VT v8.3                         Required Hardware and Software
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.                                       Chapter 2
  477.  
  478.                             Required Hardware and Software
  479.  
  480.  
  481.  
  482.             PC-VT requires  an  IBM PC, PCXT, PCjr, or PCAT with either the
  483.           Monochrome or Color/Graphics card, an 80 column screen,  128K  of
  484.           memory (a better way  to  put  this, is enough for DOS plus about
  485.           55K for the PC-VT program and  about 20K for the HELP frame), one
  486.           disk drive and one RS-232 port.  The  RS-232 port can be jumpered
  487.           as COM1 or COM2.  A line  printer, if present, is supported if it
  488.           is connected to a parallel port jumpered  as either LPT1 or LPT2.
  489.           The PC-DOS MODE command can be  used to route LPT1 or LPT2 output
  490.           to  a  COM  port  if  a serial printer is attached.   PC-VT  will
  491.           operate under  PC-DOS  1.1, 2.x, or 3.x .  PC-VT supports the IBM
  492.                     2
  493.           fixed disk .
  494.  
  495.             The ANSI.SYS device driver is not needed but will not interfere
  496.           with PC-VT even if it is loaded.
  497.  
  498.             PC-VT will support the  Hayes  Smartmodem  or compatible cards.
  499.           Chapter 9 gives the details for their use.  The modem card can be
  500.           configured as  COM1  or COM2.  If a standalone Modem is used, the
  501.           RS-232 port in the IBM PC can also be configured either  as  COM1
  502.           or COM2.
  503.  
  504.             A comment on DOS : If you don't  have  DOS  2.1,  3.0,  or 3.1,
  505.           please  invest  the money and buy it.  The new  versions  of  DOS
  506.           added a lot of  functionality  to  the IBM PC, if you are running
  507.           DOS 1.1 , you will not see  that increased functionality when you
  508.           run PC-VT.
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.           ----------
  519.  
  520.           2. The next chapter describes how to use  this  program  with the
  521.           fixed disk.
  522.  
  523.  
  524.  
  525.                         Copyright 1984,1985 Mark C. DiVecchio        Page 5
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.           Installing and Starting PC-VT                          PC-VT v8.3
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.                                       Chapter 3
  543.  
  544.                             Installing and Starting PC-VT
  545.  
  546.  
  547.  
  548.             First, make  a  backup  of  the  diskette  which  you  received
  549.           containing the program and support files.  Place this diskette in
  550.           a safe place and use it only to make additional working copies of
  551.           PC-VT.
  552.  
  553.  
  554.  
  555.  
  556.           3.1 Floppy Diskette Installation
  557.  
  558.  
  559.             Place the diskette into one  of  your diskette drives.  Set the
  560.           default diskette letter in DOS to that drive.
  561.  
  562.             PC-VT creates and uses three files on  the disk to save default
  563.           parameters.   The   files   are   PARAMS.DAT,   DIALER.DAT,   and
  564.           MACRO.DAT.  These  files are automatically created on the default
  565.           drive when you start the program for the first time.
  566.  
  567.  
  568.           3.1.1 Fixed Disk Installation
  569.  
  570.             Using PC-VT on the IBM fixed disk is the most convenient way to
  571.           use the program.  There are no special  requirements.   Copy  the
  572.           program PC-VT.EXE and HELP.DAT to the fixed  disk and use the SET
  573.           command as described below.
  574.  
  575.             PC-VT creates and uses three files on  the disk to save default
  576.           parameters.   The   files   are   PARAMS.DAT,   DIALER.DAT,   and
  577.           MACRO.DAT.  These  files are automatically created in the default
  578.           directory on the default drive.  A better way  is  to  specify an
  579.           environment string which PC-VT will  use  to  create  and  locate
  580.           these three  files.   You  can specify the PATH command which DOS
  581.           will use to locate the PC-VT  program  itself.   With  these  two
  582.           features, you can execute PC-VT without regard to  which  default
  583.           directory you currently have set on your fixed disk.
  584.  
  585.             Use the PC-DOS SET command as follows:
  586.  
  587.  
  588.  
  589.  
  590.  
  591.           Page 6        Copyright 1984,1985 Mark C. DiVecchio
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.           PC-VT v8.3                          Installing and Starting PC-VT
  599.  
  600.  
  601.  
  602.             SET PC-VT=d:path
  603.  
  604.             Where 'd' is the drive letter and  'path' is the pathname.  The
  605.           pathname can  be  any string which is acceptable to the DOS CHDIR
  606.           command.  Some examples:
  607.  
  608.                   SET PC-VT=              PC-VT will use the default
  609.                                           directory on the default disk.
  610.                   SET PC-VT=C:            PC-VT will use the default
  611.                                           directory on the C drive.
  612.                   SET PC-VT=A:\           PC-VT will use the root
  613.                                           directory on the A drive.
  614.                   SET PC-VT=B:\PC-VT      PC-VT will use the directory
  615.                                           named PC-VT on the B drive.
  616.  
  617.             Again, if  you  don't  bother with this option, PC-VT will just
  618.           use the default directory on the default drive.
  619.  
  620.             Here is an example of a command sequence which can be  used  to
  621.           load PC-VT  onto  a  fixed disk.  Put the diskette containing the
  622.           program and support files into the A diskette drive.  Replace the
  623.           drive letter C in the example with the drive letter of your fixed
  624.           disk.
  625.  
  626.           CD \
  627.           MKDIR PC-VT
  628.           SET PATH=C:\;C:\PC-VT
  629.           SET PC-VT=C:\PC-VT
  630.           COPY A:PC-VT.EXE C:\/V
  631.           COPY A:HELP.DAT C:\PC-VT/V
  632.  
  633.             Now you can execute  PC-VT  without  regard  to  which  default
  634.           directory you currently have set.
  635.  
  636.  
  637.           3.1.2 Starting PC-VT
  638.  
  639.             If you have a modem which requires  manual dialing, dial up the
  640.           host computer and turn on the modem.  Start the program by typing
  641.           PC-VT.  PC-VT comes preinitialized  to  communicate  at 1200 baud
  642.           with 8 data bits, no parity, and 1 stop  bit  through COM port 1.
  643.           If these parameters are not correct for  your  installation  they
  644.           can be changed.   See  the  discussion  of  the  SETUP frames for
  645.           instructions on how to change parameters.
  646.  
  647.             As  PC-VT  starts  up,  it  will  initialize the COMx port  and
  648.           establish the connection to the modem.  The screen  will  display
  649.           the communications frame .  Lines 1 through 24  are  used  as the
  650.           emulated VT100/102 screen which has 24 lines.  Line 25 is used as
  651.           a Status Line.  The first thing that you will  see  on line 25 is
  652.           the word "ON LINE" and the version number of PC-VT in  the  lower
  653.           left.  This indicates that PC-VT is  operating  normally  and  is
  654.  
  655.  
  656.  
  657.                         Copyright 1984,1985 Mark C. DiVecchio        Page 7
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.           Installing and Starting PC-VT                          PC-VT v8.3
  665.  
  666.  
  667.  
  668.           ready to  communicate.   If  you have a Hayes or other compatible
  669.           Modem, you can now automatically dial the host's  number.   Press
  670.           CTRL-F9 to enter the DIALING  frame.   See Chapter 9 for detailed
  671.           instructions on how to use  this  DIALING  facility.   Most  host
  672.           systems require  that  the  terminal  initiate  communications so
  673.           press ENTER.  Your host computer should now be responding.   From
  674.                                                                  3
  675.           this point on, PC-VT runs as a VT100/102 Video Terminal .
  676.  
  677.             In addition to the items described above, the  Status Line also
  678.           shows the status of the attached  modem if the cable to the modem
  679.           carries all signals or if the  modem  is  an  internally  mounted
  680.           unit.  These three icons are displayed:
  681.  
  682.             -  DSR - Data Set Ready - the modem is ready to accept data.
  683.  
  684.             -  CD - Carrier Detect - the modem has  detected  a  carrier on
  685.                the phone line.
  686.  
  687.             -  CTS  -  Clear  To  Send  -  the  modem   has  completed  the
  688.                establishment of a connection and  is  ready to send data to
  689.                the Host.
  690.  
  691.             If you are using a "smart" modem, the modem may signal  CD  and
  692.           CTS  even  when not connected to the Host.  There  is  usually  a
  693.           switch on the modem to switch these two  lines  to  their correct
  694.           operation.  Keep in mind that  PC-VT  doesn't  care  about  these
  695.           lines, it just displays them for your information.
  696.  
  697.             As an added feature  to PC-VT for users of DOS 2.+ , a new copy
  698.           of  Command.COM  can  be  started  without  terminating PC-VT  or
  699.           breaking the host connection.  To do this, just press ALT-F (hold
  700.           down the 'ALT' key and then  press the 'f' key).  The contents of
  701.           the communications frame will be saved by PC-VT.  Then the screen
  702.           will clear and you  will  see  a DOS prompt appear on the screen.
  703.           You  can  now execute all DOS commands and even  start  up  other
  704.           programs.  Be careful, though, that you do not run a program that
  705.           uses the same communications port or disk  files as being used by
  706.           PC-VT.  The other program may leave the communications port in an
  707.           unknown state and PC-VT may not  be able to regain control of it.
  708.           When you wish to return to PC-VT,  type 'exit' at the Command.COM
  709.           prompt.  You will then be returned to  the  PC-VT  communications
  710.           frame.  The frame will be restored.  PC-VT uses  the  environment
  711.           string 'COMSPEC=' to locate the command processor.  The DOS  sets
  712.           this string  up  automatically  so  you  don't  have  to  concern
  713.  
  714.           ----------
  715.  
  716.           3. If  at  this  point,  nothing  is working or the PC beeps with
  717.           every key you press, most likely the  COMx to Modem interface was
  718.           not correctly initialized.   Terminate  and  restart the program.
  719.           PC-VT will reset and will re-initialize the COMx port.
  720.  
  721.  
  722.  
  723.           Page 8        Copyright 1984,1985 Mark C. DiVecchio
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.           PC-VT v8.3                          Installing and Starting PC-VT
  731.  
  732.  
  733.  
  734.           yourself with it.  The most useful reason for getting back to DOS
  735.           by pressing ALT-F instead of terminating PC-VT is that PC-VT will
  736.           stay in memory and will  constantly  monitor  the  communications
  737.           port.  Then when you return to PC-VT by typing "exit", PC-VT will
  738.           immediately display all  information  which it received and saved
  739.           while  you  were running other DOS programs.  Of course,  if  you
  740.           terminate PC-VT to run other DOS programs, PC-VT  is cleared from
  741.           memory and the communications port is no longer  monitored.   All
  742.           information received over the port is lost.
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.                         Copyright 1984,1985 Mark C. DiVecchio        Page 9
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.           Stopping PC-VT                                         PC-VT v8.3
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.                                       Chapter 4
  807.  
  808.                                     Stopping PC-VT
  809.  
  810.  
  811.  
  812.             Since CTRL-C is a valid key for the VT100/102, PC-VT intercepts
  813.           both that key and CTRL-BREAK before DOS can use them to terminate
  814.           the program.  Even in the non communications frames, PC-VT cannot
  815.           be terminated by pressing CTRL-C or CTRL-BREAK.
  816.  
  817.             You terminate PC-VT by pressing CTRL-F8 from the communications
  818.           frame.
  819.  
  820.             The screen  will  clear,  control will return to PC-DOS and the
  821.           PC-DOS prompt will appear.  The host  connection  is  not  broken
  822.           (DTR  and  RTS  are  kept  active)  and  restarting  PC-VT   will
  823.           re-establish communications.
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.           Page 10       Copyright 1984,1985 Mark C. DiVecchio
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.           PC-VT v8.3                                   Keyboard assignments
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.                                       Chapter 5
  873.  
  874.                                  Keyboard assignments
  875.  
  876.  
  877.  
  878.             Since the keyboard on the  IBM  PC  is  not  the  same  as  the
  879.           VT100/102, certain keys have to be mapped.  The basic keyboard is
  880.           the same  of  course.   The keypad, cursor keys and certain other
  881.           control keys are in different positions  on  the  two  keyboards.
  882.           The other major difference is the lack of separate cursor keys on
  883.           the PC (the cursor keys and the keypad occupy the same keys).
  884.  
  885.           Delete Key :    The backspace key on the IBM PC keyboard emulates
  886.                           the DELETE key on the VT100/102. An option on the
  887.                           SETUP B frame enables you to change  the  IBM  PC
  888.                           backspace key to send an ASCII 8 instead  of  the
  889.                           ASCII 127 per the VT10x definition.
  890.  
  891.           Cursor Keys :   The four cursor  keys  on  the  IBM  PC  keyboard
  892.                           emulate the four  cursor  keys  on the VT100/102.
  893.                           NUM LOCK must be off for these keys to  function.
  894.                           If  NUM  LOCK is set, the  keypad  generates  the
  895.                           numeric characters shown on the keys.
  896.  
  897.           Function Keys :
  898.                           In VT100 Numeric Keypad mode, F1 thru F4  on  the
  899.                           IBM PC keyboard emulate the PF1 thru PF4 keys  on
  900.                           the VT100/102.
  901.  
  902.                           In VT100 Application Keypad mode, F1 thru F10 map
  903.                           onto  the  VT100/102  keypad  as  follows  (PC-VT
  904.                           displays  the Greek letter "alpha" on the  Status
  905.                           Line to indicate that this  mode  is  set.   This
  906.                           mode is set and reset only by an escape  sequence
  907.                           from the host computer.):
  908.  
  909.  
  910.                           IBM PC key              VT100/102 key
  911.  
  912.                           F1                      PF1
  913.                           F2                      PF2
  914.                           F3                      7
  915.                           F4                      8
  916.                           F5                      4
  917.                           F6                      5
  918.  
  919.  
  920.  
  921.                         Copyright 1984,1985 Mark C. DiVecchio       Page 11
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.           Keyboard assignments                                   PC-VT v8.3
  929.  
  930.  
  931.  
  932.                           F7                      1
  933.                           F8                      2
  934.                           F9                      0
  935.                           F10                     0
  936.                           SHIFT-F1                PF3
  937.                           SHIFT-F2                PF4
  938.                           SHIFT-F3                9
  939.                           SHIFT-F4                - (minus sign)
  940.                           SHIFT-F5                6
  941.                           SHIFT-F6                , (comma)
  942.                           SHIFT-F7                3
  943.                           SHIFT-F8                ENTER
  944.                           SHIFT-F9                . (period)
  945.                           SHIFT-F10               ENTER
  946.  
  947.                           This assignment was selected  to  closely  follow
  948.                           the   physical  layout  of  the  keypad  on   the
  949.                           VT100/102. Observe that the  VT100/102  has  four
  950.                           columns of keys  in  the  keypad.  PC-VT emulates
  951.                           the two left  columns  with the function keys and
  952.                           emulates  the two right columns with the  shifted
  953.                           function keys.  It is expected that a user who is
  954.                           familiar  with  the  VT100/102  keypad  and   has
  955.                           memorized  the  position of each key,  will  have
  956.                           little trouble using this function  key  mapping.
  957.                           Note that the "0" key and  the  "ENTER"  key  are
  958.                           mapped onto two of the PC keys.  This is  because
  959.                           on the VT100/102, the  "0"  and  "ENTER" keys are
  960.                           double width.
  961.  
  962.                           Note : NUM LOCK is handled locally in the IBM PC.
  963.                           For the  keypad keys to work correctly when using
  964.                           PC-VT, NUM LOCK should not be set.
  965.  
  966.                           The drawing on  the  next page shows this mapping
  967.                           in a pictorial format.  The name of  the  IBM  PC
  968.                           key is in the upper left of each  key  pictorial.
  969.                           The emulated key or function is then shown in the
  970.                           center of the pictorial.
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.           Page 12       Copyright 1984,1985 Mark C. DiVecchio
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.           PC-VT v8.3                                   Keyboard assignments
  995.  
  996.  
  997.  
  998.  
  999.                                KEYPAD FUNCTION MAPPING
  1000.  
  1001.  
  1002.  
  1003.  
  1004.                  FUNCTION KEYS               "SHIFT" FUNCTION KEYS
  1005.               --------------------------  --------------------------
  1006.               ............  ............  ............  ............
  1007.               .F1        .  .F2        .  .F1        .  .F2        .
  1008.               .          .  .          .  .          .  .          .
  1009.               .   PF1    .  .   PF2    .  .   PF3    .  .   PF4    .
  1010.               .          .  .          .  .          .  .          .
  1011.               ............  ............  ............  ............
  1012.  
  1013.  
  1014.               ............  ............  ............  ............
  1015.               .F3        .  .F4        .  .F3        .  .F4        .
  1016.               .          .  .          .  .          .  .          .
  1017.               .    7     .  .     8    .  .     9    .  .     -    .
  1018.               .          .  .          .  .          .  .          .
  1019.               ............  ............  ............  ............
  1020.  
  1021.  
  1022.               ............  ............  ............  ............
  1023.               .F5        .  .F6        .  .F5        .  .F6        .
  1024.               .          .  .          .  .          .  .          .
  1025.               .    4     .  .     5    .  .     6    .  .     ,    .
  1026.               .          .  .          .  .          .  .          .
  1027.               ............  ............  ............  ............
  1028.  
  1029.  
  1030.               ............  ............  ............  ............
  1031.               .F7        .  .F8        .  .F7        .  .F8        .
  1032.               .          .  .          .  .          .  .          .
  1033.               .    1     .  .     2    .  .     3    .  .          .
  1034.               .          .  .             .          .  .          .
  1035.               ............  ............  ............  .          .
  1036.                                                         .          .
  1037.                                                         .  ENTER   .
  1038.               ..........................  ............  .          .
  1039.               .F9            F10       .  .F9        .  .F10       .
  1040.               .                        .  .          .  .          .
  1041.               .         0              .  .     .    .  .          .
  1042.               .                        .  .          .  .          .
  1043.               ..........................  ............  ............
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.                         Copyright 1984,1985 Mark C. DiVecchio       Page 13
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.           Keyboard assignments                                   PC-VT v8.3
  1061.  
  1062.  
  1063.  
  1064.  
  1065.           Special key mapping for the EDT Editor :
  1066.                           In VT100 Application Keypad mode, which is set by
  1067.                           the VMS EDT text editor, the following keys cause
  1068.                           special  Escape  sequences   to  be  transmitted.
  1069.                           Observe that some of  these special keys transmit
  1070.                           sequences  that  would  require   two   or   more
  1071.                           keystrokes on the VT100/102. PC-VT  displays  the
  1072.                           Greek  letter  "alpha"  in  the  Status  Line  to
  1073.                           indicate that this mode is active.
  1074.  
  1075.                           A bit in the SETUP frame selects either EDT or VI
  1076.                           mode for this special mapping.  For this mapping,
  1077.                           VMS mode should be selected.
  1078.  
  1079.  
  1080.                   IBM PC key              EDT function performed
  1081.  
  1082.                   Del key                 DEL C
  1083.                   Backspace               Deletes the character to the
  1084.                                           left of the cursor (DELETE key
  1085.                                           on the VT100/102)
  1086.                   ALT-=                   DELETE key on the VT100/102
  1087.                   Ins key                 OPEN LINE
  1088.                   Home key                TOP
  1089.                   End key                 BOTTOM
  1090.                   PgUp key                BACKUP SECT
  1091.                   PgDn key                ADVANCE SECT
  1092.                   CTRL-Home key           Deletes the word to the left
  1093.                       or                  of the cursor (LINEFEED key
  1094.                   CTRL-J                  on the VT100/102)
  1095.                   CTRL-End key            ADVANCE DEL EOL - Erases from
  1096.                                           the cursor to the end of the
  1097.                                           line.
  1098.                   CTRL-PgUp key           BACKUP PAGE
  1099.                   CTRL-PgDn key           ADVANCE PAGE
  1100.                   CTRL-Left Arrow key     BACKUP EOL - Move cursor to
  1101.                                           the end of the previous line.
  1102.                   CTRL-Right Arrow key    ADVANCE EOL - Move the cursor
  1103.                                           to the end of the current line.
  1104.                   SHIFT-Tab               Moves the cursor to the
  1105.                                           beginning of the line
  1106.                                           (BACKSPACE key on the VT100/102).
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.           Page 14       Copyright 1984,1985 Mark C. DiVecchio
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.           PC-VT v8.3                                   Keyboard assignments
  1127.  
  1128.  
  1129.  
  1130.  
  1131.                           VT100/102 SPECIAL EDT KEY MAPPING
  1132.  
  1133.  
  1134.  
  1135.  
  1136.                  FUNCTION KEYS               SHIFTED FUNCTION KEYS
  1137.               --------------------------  --------------------------
  1138.           For Functions in (), press GOLD Key First.
  1139.               ............  ............  ............  ............
  1140.               .F1        .  .F2        .  .F1        .  .F2        .
  1141.               .          .  .          .  .          .  .          .
  1142.               .  GOLD    .  .  HELP    .  .  FNDNXT  .  .   DEL L  .
  1143.               .          .  .          .  .  (FIND)  .  .  (UND L) .
  1144.               ............  ............  ............  ............
  1145.  
  1146.  
  1147.               ............  ............  ............  ............
  1148.               .F3        .  .F4        .  .F3        .  .F4        .
  1149.               .          .  .          .  .          .  .          .
  1150.               .  PAGE    .  .  SECT    .  . APPEND   .  .   DEL W  .
  1151.               .(COMMAND) .  . (FILL)   .  .(REPLACE) .  .  (UND W) .
  1152.               ............  ............  ............  ............
  1153.  
  1154.  
  1155.               ............  ............  ............  ............
  1156.               .F5        .  .F6        .  .F5        .  .F6        .
  1157.               .          .  .          .  .          .  .          .
  1158.               . ADVANCE  .  . BACKUP   .  .   CUT    .  .   DEL C  .
  1159.               . (BOTTOM) .  .  (TOP)   .  . (PASTE)  .  .  (UND C) .
  1160.               ............  ............  ............  ............
  1161.  
  1162.  
  1163.               ............  ............  ............  ............
  1164.               .F7        .  .F8        .  .F7        .  .F8        .
  1165.               .          .  .          .  .          .  .          .
  1166.               .  WORD    .  .   EOL    .  .  CHAR    .  .          .
  1167.               .(CHNG C)  .  . (DEL EOL).  .(SPECINS) .  .          .
  1168.               ............  ............  ............  .  ENTER   .
  1169.                                                         .  (SUBS)  .
  1170.                                                         .          .
  1171.               ..........................  ............  .          .
  1172.               .F9            F10       .  .F9        .  .F10       .
  1173.               .                        .  .          .  .          .
  1174.               .     LINE               .  .  SELECT  .  .          .
  1175.               .        (OPEN LINE)     .  .  (RESET) .  .          .
  1176.               ..........................  ............  ............
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.                         Copyright 1984,1985 Mark C. DiVecchio       Page 15
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.           Keyboard assignments                                   PC-VT v8.3
  1193.  
  1194.  
  1195.  
  1196.  
  1197.                      VT100/102 SPECIAL EDT KEY MAPPING..continued
  1198.  
  1199.  
  1200.  
  1201.  
  1202.                 PC KEYPAD KEYS as MAPPED into EDT
  1203.           --------------------------------------------------------------------
  1204.           For Functions in (), press GOLD Key First.
  1205.                         ............  ............  ............  ............
  1206.                         .7         .  .8         .  .9         .  .-[minus]  .
  1207.                         .          .  .          .  .          .  .          .
  1208.                         .  TOP     .  .  CURSOR  .  .  BACKUP  .  .          .
  1209.                         .          .  .    UP    .  .   SECT   .  .          .
  1210.                         ............  ............  ............  ............
  1211.  
  1212.  
  1213.                         ............  ............  ............  ............
  1214.                         .4         .  .5         .  .6         .  .+[plus]   .
  1215.                         .          .  .          .  .          .  .          .
  1216.                         .  CURSOR  .  .          .  .  CURSOR  .  .          .
  1217.                         .   LEFT   .  .          .  .   RIGHT  .  .          .
  1218.                         ............  ............  ............  .          .
  1219.                                                                   .          .
  1220.                                                                   .          .
  1221.                         ............  ............  ............  .          .
  1222.                         .1         .  .2         .  .3         .  .          .
  1223.                         .          .  .          .  .          .  .          .
  1224.                         .  BOTTOM  .  .  CURSOR  .  . ADVANCE  .  .          .
  1225.                         .          .  .   DOWN   .  .  SECT    .  .          .
  1226.                         ............  ............  ............  .          .
  1227.                                                                   .          .
  1228.                                                                   .          .
  1229.           ..........................  ..........................  .          .
  1230.           .0                       .  ..[period]               .  .          .
  1231.           .                        .  .                        .  .          .
  1232.           .      OPEN LINE         .  .         DEL C          .  .          .
  1233.           .        (LINE)          .  .        (UND C)         .  .          .
  1234.           ..........................  ..........................  ............
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.           Page 16       Copyright 1984,1985 Mark C. DiVecchio
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.           PC-VT v8.3                                   Keyboard assignments
  1259.  
  1260.  
  1261.  
  1262.  
  1263.                      VT100/102 SPECIAL EDT KEY MAPPING..continued
  1264.  
  1265.  
  1266.  
  1267.  
  1268.                 PC KEYPAD KEYS as MAPPED into EDT - HOLD DOWN CTRL KEY
  1269.           --------------------------------------------------------------------
  1270.                         ............  ............  ............  ............
  1271.                         .7         .  .8         .  .9         .  .-[minus]  .
  1272.                         . DELETE TO.  .          .  .  BACKUP  .  .          .
  1273.                         . START OF .  .          .  .   PAGE   .  .          .
  1274.                         . WORD     .  .          .  .          .  .          .
  1275.                         ............  ............  ............  ............
  1276.  
  1277.  
  1278.                         ............  ............  ............  ............
  1279.                         .4         .  .5         .  .6         .  .+[plus]   .
  1280.                         . CURSOR TO.  .          .  . CURSOR TO.  .          .
  1281.                         . END OF   .  .          .  . END OF   .  .          .
  1282.                         . LAST LINE.  .          .  . LINE     .  .          .
  1283.                         ............  ............  ............  .          .
  1284.                                                                   .          .
  1285.                                                                   .          .
  1286.                         ............  ............  ............  .          .
  1287.                         .1         .  .2         .  .3         .  .          .
  1288.                         . ERASE TO .  .          .  . ADVANCE  .  .          .
  1289.                         . END OF   .  .          .  .  PAGE    .  .          .
  1290.                         . LINE     .  .          .  .          .  .          .
  1291.                         ............  ............  ............  .          .
  1292.                                                                   .          .
  1293.                                                                   .          .
  1294.           ..........................  ..........................  .          .
  1295.           .0                       .  ..[period]               .  .          .
  1296.           .                        .  .                        .  .          .
  1297.           .                        .  .                        .  .          .
  1298.           .                        .  .                        .  .          .
  1299.           ..........................  ..........................  ............
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.                         Copyright 1984,1985 Mark C. DiVecchio       Page 17
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.           Keyboard assignments                                   PC-VT v8.3
  1325.  
  1326.  
  1327.  
  1328.  
  1329.                    VT52 COMPATIBILITY MODE SPECIAL EDT KEY MAPPING
  1330.  
  1331.  
  1332.  
  1333.  
  1334.                  FUNCTION KEYS               SHIFTED FUNCTION KEYS
  1335.               --------------------------  --------------------------
  1336.           For Functions in (), press GOLD Key First.
  1337.               ............  ............  ............  ............
  1338.               .F1        .  .F2        .  .F1        .  .F2        .
  1339.               .          .  .          .  .          .  .          .
  1340.               .  GOLD    .  .  HELP    .  .   DEL L  .  .  NOT     .
  1341.               .          .  .          .  .  (UND L) .  .  USED    .
  1342.               ............  ............  ............  ............
  1343.  
  1344.  
  1345.               ............  ............  ............  ............
  1346.               .F3        .  .F4        .  .F3        .  .F4        .
  1347.               .          .  .          .  .          .  .          .
  1348.               .  PAGE    .  .  FNDNXT  .  .   DEL W  .  .  NOT     .
  1349.               .(COMMAND) .  .  (FIND)  .  .  (UND W) .  .  USED    .
  1350.               ............  ............  ............  ............
  1351.  
  1352.  
  1353.               ............  ............  ............  ............
  1354.               .F5        .  .F6        .  .F5        .  .F6        .
  1355.               .          .  .          .  .          .  .          .
  1356.               . ADVANCE  .  . BACKUP   .  .   DEL C  .  .  NOT     .
  1357.               . (BOTTOM) .  .  (TOP)   .  .  (UND C) .  .  USED    .
  1358.               ............  ............  ............  ............
  1359.  
  1360.  
  1361.               ............  ............  ............  ............
  1362.               .F7        .  .F8        .  .F7        .  .F8        .
  1363.               .          .  .          .  .          .  .          .
  1364.               .  WORD    .  .   EOL    .  .  CUT     .  .          .
  1365.               .(CHNG C)  .  . (DEL EOL).  . (PASTE)  .  .          .
  1366.               ............  ............  ............  .  ENTER   .
  1367.                                                         .  (SUBS)  .
  1368.                                                         .          .
  1369.               ..........................  ............  .          .
  1370.               .F9            F10       .  .F9        .  .F10       .
  1371.               .                        .  .          .  .          .
  1372.               .      LINE              .  .  SELECT  .  .          .
  1373.               .        (OPEN LINE)     .  .  (RESET) .  .          .
  1374.               ..........................  ............  ............
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.           Page 18       Copyright 1984,1985 Mark C. DiVecchio
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.           PC-VT v8.3                                   Keyboard assignments
  1391.  
  1392.  
  1393.  
  1394.  
  1395.               VT52 COMPATIBILITY MODE SPECIAL EDT KEY MAPPING..continued
  1396.  
  1397.  
  1398.  
  1399.  
  1400.                 PC KEYPAD KEYS as MAPPED into EDT
  1401.           --------------------------------------------------------------------
  1402.           For Functions in (), press GOLD Key First.
  1403.                         ............  ............  ............  ............
  1404.                         .7         .  .8         .  .9         .  .-[minus]  .
  1405.                         .          .  .  CURSOR  .  .          .  .          .
  1406.                         .  TOP     .  .    UP    .  .  BACKUP  .  .          .
  1407.                         .          .  .(REPLACE) .  .   SECT   .  .          .
  1408.                         ............  ............  ............  ............
  1409.  
  1410.  
  1411.                         ............  ............  ............  ............
  1412.                         .4         .  .5         .  .6         .  .+[plus]   .
  1413.                         .  CURSOR  .  .          .  .  CURSOR  .  .          .
  1414.                         .   LEFT   .  .          .  .   RIGHT  .  .          .
  1415.                         . (APPEND) .  .          .  . (SPECINS).  .          .
  1416.                         ............  ............  ............  .          .
  1417.                                                                   .          .
  1418.                                                                   .          .
  1419.                         ............  ............  ............  .          .
  1420.                         .1         .  .2         .  .3         .  .          .
  1421.                         .          .  .  CURSOR  .  .          .  .          .
  1422.                         .  BOTTOM  .  .   DOWN   .  . ADVANCE  .  .          .
  1423.                         .          .  .  (SECT)  .  .  SECT    .  .          .
  1424.                         ............  ............  ............  .          .
  1425.                                                                   .          .
  1426.                                                                   .          .
  1427.           ..........................  ..........................  .          .
  1428.           .0                       .  ..[period]               .  .          .
  1429.           .                        .  .                        .  .          .
  1430.           .      OPEN LINE         .  .         DEL C          .  .          .
  1431.           .        (LINE)          .  .        (UND C)         .  .          .
  1432.           ..........................  ..........................  ............
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.                         Copyright 1984,1985 Mark C. DiVecchio       Page 19
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.           Keyboard assignments                                   PC-VT v8.3
  1457.  
  1458.  
  1459.  
  1460.  
  1461.               VT52 COMPATIBILITY MODE SPECIAL EDT KEY MAPPING..continued
  1462.  
  1463.  
  1464.  
  1465.  
  1466.                 PC KEYPAD KEYS as MAPPED into EDT - HOLD DOWN CTRL KEY
  1467.           --------------------------------------------------------------------
  1468.                         ............  ............  ............  ............
  1469.                         .7         .  .8         .  .9         .  .-[minus]  .
  1470.                         . DELETE TO.  .          .  .  BACKUP  .  .          .
  1471.                         . START OF .  .          .  .   PAGE   .  .          .
  1472.                         . WORD     .  .          .  .          .  .          .
  1473.                         ............  ............  ............  ............
  1474.  
  1475.  
  1476.                         ............  ............  ............  ............
  1477.                         .4         .  .5         .  .6         .  .+[plus]   .
  1478.                         . CURSOR TO.  .          .  . CURSOR TO.  .          .
  1479.                         . END OF   .  .          .  . END OF   .  .          .
  1480.                         . LAST LINE.  .          .  . LINE     .  .          .
  1481.                         ............  ............  ............  .          .
  1482.                                                                   .          .
  1483.                                                                   .          .
  1484.                         ............  ............  ............  .          .
  1485.                         .1         .  .2         .  .3         .  .          .
  1486.                         . ERASE TO .  .          .  . ADVANCE  .  .          .
  1487.                         . END OF   .  .          .  .  PAGE    .  .          .
  1488.                         . LINE     .  .          .  .          .  .          .
  1489.                         ............  ............  ............  .          .
  1490.                                                                   .          .
  1491.                                                                   .          .
  1492.           ..........................  ..........................  .          .
  1493.           .0                       .  ..[period]               .  .          .
  1494.           .                        .  .                        .  .          .
  1495.           .                        .  .                        .  .          .
  1496.           .                        .  .                        .  .          .
  1497.           ..........................  ..........................  ............
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.           Page 20       Copyright 1984,1985 Mark C. DiVecchio
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.           PC-VT v8.3                                   Keyboard assignments
  1523.  
  1524.  
  1525.  
  1526.  
  1527.           Special key mapping for the VI Editor :
  1528.                           In VT100 Application Keypad mode, which is set by
  1529.                           the UNIX VI text editor, the following keys cause
  1530.                           special  Escape  sequences   to  be  transmitted.
  1531.                           Observe that some of  these special keys transmit
  1532.                           sequences  that  would  require   two   or   more
  1533.                           keystrokes on the VT100/102. PC-VT  displays  the
  1534.                           Greek  letter  "alpha"  in  the  Status  Line  to
  1535.                           indicate that this mode is active.
  1536.  
  1537.                           A bit in the SETUP frame selects either EDT or VI
  1538.                           mode for this special mapping.  For this mapping,
  1539.                           UNIX mode should be selected.
  1540.  
  1541.  
  1542.                   IBM PC key              VI function performed
  1543.  
  1544.                   Del key                 Delete a character
  1545.                   ALT-=                   DELETE key on the VT100/102
  1546.                   Ins key                 Go into Insert Mode
  1547.                   Home key                Go to beginning of the file
  1548.                   End key                 Go to end of the file
  1549.                   PgUp key                Scroll up the file
  1550.                   PgDn key                Scroll down the file
  1551.                   CTRL-Home key           Go to start of line
  1552.                   CTRL-End key            Go to end of line
  1553.                   CTRL-PgUp key           Go to top of the screen
  1554.                   CTRL-PgDn key           Go to bottom of the screen
  1555.                   CTRL-Left Arrow key     Go to previous word
  1556.                   CTRL-Right Arrow key    Go to next work
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.                         Copyright 1984,1985 Mark C. DiVecchio       Page 21
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.           Keyboard assignments                                   PC-VT v8.3
  1589.  
  1590.  
  1591.  
  1592.  
  1593.                            VT100/102 SPECIAL VI KEY MAPPING
  1594.  
  1595.  
  1596.  
  1597.  
  1598.                 PC KEYPAD KEYS as MAPPED into VI
  1599.           --------------------------------------------------------------------
  1600.  
  1601.                         ............  ............  ............  ............
  1602.                         .7         .  .8         .  .9         .  .-[minus]  .
  1603.                         . GO TO    .  .  CURSOR  .  .  SCROLL  .  .          .
  1604.                         . TOP      .  .    UP    .  .    UP    .  .          .
  1605.                         . OF FILE  .  .          .  .          .  .          .
  1606.                         ............  ............  ............  ............
  1607.  
  1608.  
  1609.                         ............  ............  ............  ............
  1610.                         .4         .  .5         .  .6         .  .+[plus]   .
  1611.                         . CURSOR   .  .          .  . CURSOR   .  .          .
  1612.                         . LEFT     .  .          .  . RIGHT    .  .          .
  1613.                         .          .  .          .  .          .  .          .
  1614.                         ............  ............  ............  .          .
  1615.                                                                   .          .
  1616.                                                                   .          .
  1617.                         ............  ............  ............  .          .
  1618.                         .1         .  .2         .  .3         .  .          .
  1619.                         . GO TO    .  .  CURSOR  .  .  SCROLL  .  .          .
  1620.                         . END      .  .   DOWN   .  .   DOWN   .  .          .
  1621.                         . OF FILE  .  .          .  .          .  .          .
  1622.                         ............  ............  ............  .          .
  1623.                                                                   .          .
  1624.                                                                   .          .
  1625.           ..........................  ..........................  .          .
  1626.           .0                       .  ..[period]               .  .          .
  1627.           .                        .  .                        .  .          .
  1628.           .      ENTER INSERT      .  .         DELETE         .  .          .
  1629.           .          MODE          .  .       A CHARACTER      .  .          .
  1630.           ..........................  ..........................  ............
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.           Page 22       Copyright 1984,1985 Mark C. DiVecchio
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.           PC-VT v8.3                                   Keyboard assignments
  1655.  
  1656.  
  1657.  
  1658.  
  1659.                      VT100/102 SPECIAL VI KEY MAPPING..continued
  1660.  
  1661.  
  1662.  
  1663.  
  1664.                 PC KEYPAD KEYS as MAPPED into VI - HOLD DOWN CTRL KEY
  1665.           --------------------------------------------------------------------
  1666.                         ............  ............  ............  ............
  1667.                         .7         .  .8         .  .9         .  .-[minus]  .
  1668.                         . GO TO    .  .          .  .  GO TO   .  .          .
  1669.                         . START OF .  .          .  .  TOP OF  .  .          .
  1670.                         . LINE     .  .          .  .  SCREEN  .  .          .
  1671.                         ............  ............  ............  ............
  1672.  
  1673.  
  1674.                         ............  ............  ............  ............
  1675.                         .4         .  .5         .  .6         .  .+[plus]   .
  1676.                         . GO TO    .  .          .  . GO TO    .  .          .
  1677.                         . PREVIOUS .  .          .  . NEXT     .  .          .
  1678.                         . WORD     .  .          .  . WORD     .  .          .
  1679.                         ............  ............  ............  .          .
  1680.                                                                   .          .
  1681.                                                                   .          .
  1682.                         ............  ............  ............  .          .
  1683.                         .1         .  .2         .  .3         .  .          .
  1684.                         . GO TO    .  .          .  . GO TO    .  .          .
  1685.                         . END OF   .  .          .  . BOTTOM OF.  .          .
  1686.                         . LINE     .  .          .  . SCREEN   .  .          .
  1687.                         ............  ............  ............  .          .
  1688.                                                                   .          .
  1689.                                                                   .          .
  1690.           ..........................  ..........................  .          .
  1691.           .0                       .  ..[period]               .  .          .
  1692.           .                        .  .                        .  .          .
  1693.           .                        .  .                        .  .          .
  1694.           .                        .  .                        .  .          .
  1695.           ..........................  ..........................  ............
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.                         Copyright 1984,1985 Mark C. DiVecchio       Page 23
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.           Keyboard assignments                                   PC-VT v8.3
  1721.  
  1722.  
  1723.  
  1724.  
  1725.           SHIFT-Tab :     The  SHIFT-Tab  key  sends a backspace  character
  1726.                           (ASCII 8) to  the  host.   Emulates the VT100/102
  1727.                           BACKSPACE key.   If you want the IBM PC backspace
  1728.                           key to send a BACKSPACE (ASCII 8) you can  change
  1729.                           this on the SETUP B frame.
  1730.  
  1731.           CTRL-J :        This key  combination sends a line feed character
  1732.                           to the host.
  1733.  
  1734.           CTRL-@ :        This key combination sends a NUL character (ASCII
  1735.                           0) to the host.  Used by  Emacs  running  on  DEC
  1736.                           VAX.
  1737.  
  1738.           SCROLL LOCK :   The SCROLL LOCK key on  IBM  PC alternately sends
  1739.                           XON and XOFF and emulates the NO  SCROLL  key  on
  1740.                           the  VT100/102. PC-VT displays the word "SCR"  on
  1741.                           the Status Line of the display to remind you that
  1742.                           the SCROLL  LOCK  key  has  been  depressed once.
  1743.                           Depressing  the key again resets SCROLL LOCK  and
  1744.                           clears the reminder.
  1745.  
  1746.           NUM LOCK :      The  NUM  LOCK  key  places the IBM PC keypad  in
  1747.                           numeric mode.  The NUM LOCK key functions locally
  1748.                           in  the   PC  only  and  does  not  transmit  any
  1749.                           characters to the host computer.  PC-VT  displays
  1750.                           the word "NUM" on the Status Line of the  display
  1751.                           to remind you that the  NUM  LOCK  key  has  been
  1752.                           depressed once.  Depressing the key again  resets
  1753.                           NUM LOCK and clears the reminder.
  1754.  
  1755.           CAPS LOCK :     The CAPS  LOCK  key places the IBM PC keyboard in
  1756.                           uppercase mode.   The  CAPS  LOCK  key  functions
  1757.                           locally in the PC only and does not transmit  any
  1758.                           characters to the host computer.  PC-VT  displays
  1759.                           the word "CAP" on the Status Line of the  display
  1760.                           to remind you that the CAPS  LOCK  key  has  been
  1761.                           depressed once.  Depressing the key again  resets
  1762.                           CAPS LOCK and clears the reminder.
  1763.  
  1764.           CTRL-F1 :       PC-VT enters the SETUP frame.  See Chapter 6.
  1765.  
  1766.           CTRL-F2 :       This   command   lets  you  change  the  default
  1767.                           directory for  uploading  and  downloading files.
  1768.                           See Chapter 8.
  1769.  
  1770.           CTRL-F3 :       Receive a file (ASCII or XMODEM).  See Chapter 8.
  1771.  
  1772.           CTRL-F4 :       Transmit a file  (ASCII  or XMODEM).  See Chapter
  1773.                           8.
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.           Page 24       Copyright 1984,1985 Mark C. DiVecchio
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.           PC-VT v8.3                                   Keyboard assignments
  1787.  
  1788.  
  1789.  
  1790.           CTRL-F5 :       Print  screen.   The  screen  is  printed on  the
  1791.                           selected  line  printer  (LPT1   or   LPT2),   if
  1792.                           present.   The  line printer is selected  in  the
  1793.                           SETUP  B  frame.  Performs the same  function  as
  1794.                           receipt of a "ESC [ i" sequence.   If  the  Print
  1795.                           Termination  Character  is  set in  the  SETUP  B
  1796.                           frame, a Form Feed  will  be  performed after the
  1797.                           screen is printed.
  1798.  
  1799.           CTRL-F6 :       Echo  to selected line printer  (LPT1  or  LPT2).
  1800.                           Toggles  On/Off  echoing  to  the  selected  line
  1801.                           printer,  if  present.   The  line   printer   is
  1802.                           selected  in  the  SETUP  B  frame.   Prints  all
  1803.                           characters received  or  transmitted  to/from the
  1804.                           host.  Characters displayed on  the  Status  Line
  1805.                           (line  25) are never printed.  Performs the  same
  1806.                           function as receipt of "ESC [ ?   5 i" and "ESC [
  1807.                           ?  4 i" sequences.  A 'P' is displayed in  column
  1808.                           42 of the Status Line to remind you that  printer
  1809.                           echo  is  on.   A  Form  Feed  which is  normally
  1810.                           translated to a Line Feed by PC-VT is retained as
  1811.                           a Form Feed when printer echo is on.
  1812.  
  1813.           CTRL-F7 :       To  send a sustained  break  to  the  host,  type
  1814.                           CTRL-F7.  Confirmation  of  the  operation  is  a
  1815.                           click  at  the  start  of  the  break along  with
  1816.                           another click at the  end  of  the operation.  If
  1817.                           the disconnect character feature is  selected  in
  1818.                           the SETUP B  frame,  PC-VT sends an EOT character
  1819.                           (ASCII 4) before it sends the break.
  1820.  
  1821.           CTRL-F8 :       Terminates PC-VT and returns to DOS.
  1822.  
  1823.           CTRL-F9 :       Enters  the  DIALING  frame.  See Chapter  9  for
  1824.                           instructions.
  1825.  
  1826.           CTRL-F10 :      Enters  the  Macro  frame.   See  Chapter 11  for
  1827.                           instructions.
  1828.  
  1829.           ALT-H :         Enters the HELP frame.  Once you are in  the HELP
  1830.                           frame, use the PgDn key to look at  the next HELP
  1831.                           page, use the PgUp key to look  at  the  previous
  1832.                           HELP page, and use the  Esc  key to exit HELP and
  1833.                           return  to  the emulator.  HELP works  from  most
  1834.                           frames  and  is context sensitive.  If  you  need
  1835.                           HELP within  the SETUP frames, you will get SETUP
  1836.                           information.
  1837.  
  1838.           ALT-K :         Starts up the Kermit module.
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.                         Copyright 1984,1985 Mark C. DiVecchio       Page 25
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.           SETUP Frames                                           PC-VT v8.3
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.                                       Chapter 6
  1863.  
  1864.                                      SETUP Frames
  1865.  
  1866.  
  1867.  
  1868.             The SETUP frames are accessed  by  pressing  CTRL-F1  from  the
  1869.           communications frame.  SETUP A is entered first.  The contents of
  1870.           the communications frame are preserved and are restored when  you
  1871.           exit SETUP.
  1872.  
  1873.  
  1874.  
  1875.  
  1876.           6.1 SETUP A
  1877.  
  1878.  
  1879.             The SETUP A  frame  is  used  to  perform  the functions listed
  1880.           below.  The bottom two lines of the frame represent the tab stops
  1881.           which are  set.   The bottom line counts the columns and the line
  1882.           above it shows a "T" in each column where a tab is set.  Here are
  1883.           the functions available in SETUP A:
  1884.  
  1885.           Exit SETUP :    The  ESC  key  or  the  CTRL-F1  key  combination
  1886.                           returns PC-VT to the communications frame.
  1887.  
  1888.           Reset :         The  "0" key clears the  tabs  and  features  and
  1889.                           reloads them  from  the  USER  MEMORY  disk file,
  1890.                           PARAMS.DAT, on the  default  drive.   PC-VT  then
  1891.                           returns to the communications frame.
  1892.  
  1893.           Set/Clear Tabs :
  1894.                           The "2"  key  sets  or clears a tab at the column
  1895.                           position  of  the  cursor.  The  left  and  right
  1896.                           arrows, the tab key, the space bar, and the ENTER
  1897.                           key can be used to move the cursor  to the column
  1898.                           in which you want to set or clear the tab.  A "T"
  1899.                           will appear to indicate that a tab was set or the
  1900.                           "T" will be blanked to indicate that  a  tab  was
  1901.                           cleared.   In either case, the character will  be
  1902.                           highlited to indicate that a change was made.
  1903.  
  1904.           Clear All Tabs :
  1905.                           The "3" key clears all tab stops.  All of the "T"
  1906.                           tab stop indicators will be cleared.
  1907.  
  1908.  
  1909.  
  1910.  
  1911.           Page 26       Copyright 1984,1985 Mark C. DiVecchio
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.           PC-VT v8.3                                           SETUP Frames
  1919.  
  1920.  
  1921.  
  1922.           Go to SETUP B :
  1923.                           The "5" key selects the SETUP B frame.
  1924.  
  1925.           Store into USER MEMORY :
  1926.                           The SHIFT-S  key  stores  all  currently  set tab
  1927.                           stops and features selected by  SETUP  B  onto  a
  1928.                           disk file  on the PC-DOS default drive.  The name
  1929.                           of the file is PARAMS.DAT.
  1930.  
  1931.           Reset :         The  SHIFT-R key clears the tabs and features and
  1932.                           reloads them  from  the  USER  MEMORY  disk file,
  1933.                           PARAMS.DAT, on the default drive.  PC-VT  remains
  1934.                           in the SETUP A frame.
  1935.  
  1936.           Select General Default :
  1937.                           The  SHIFT-D  key clears any user  set  tabs  and
  1938.                           features (from  SETUP B) and resets them to PC-VT
  1939.                           defined defaults.
  1940.  
  1941.           Select Tab Default :
  1942.                           The  SHIFT-T  key clears any user  set  tabs  and
  1943.                           resets them to every 8 columns as follows:
  1944.  
  1945.                           Columns 9, 17, 25, 33, 41, 49, 57, 65, and 73.
  1946.  
  1947.                           A "T" will appear in each of these columns on the
  1948.                           second line from the bottom of the SETUP A  frame
  1949.                           to indicate that a tab is set.
  1950.  
  1951.           Incr/Decr Line Turnaround Character = xx (ASCII : y):
  1952.                           This character is used  in conjunction with ASCII
  1953.                           file  upload.  When uploading, PC-VT can be  told
  1954.                           to wait for this character (the =t option) to  be
  1955.                           sent  by  the Host before PC-VT  sends  the  next
  1956.                           line.   For  our  purposes,  a line ends  when  a
  1957.                           carriage return  (ASCII  13)  is  uploaded.   The
  1958.                           value of xx is the ASCII value of the  character,
  1959.                           and  y  is  the   actual  ASCII  character.   The
  1960.                           character is not displayed if it is less than  32
  1961.                           or equal to  255.  The SHIFT-L key will increment
  1962.                           this  value  and the SHIFT-K will  decrement  it.
  1963.                           You  must  execute  a "SHIFT-S  store  into  USER
  1964.                           MEMORY" command to save the  new  value  of  this
  1965.                           character on disk.  Otherwise, the next time that
  1966.                           you start PC-VT, the  original value is restored.
  1967.                           The first time that  PC-VT starts, this character
  1968.                           is set to the dollar sign character, ASCII 36.
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.                         Copyright 1984,1985 Mark C. DiVecchio       Page 27
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.           SETUP Frames                                           PC-VT v8.3
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.           6.2 SETUP B
  1993.  
  1994.  
  1995.             The SETUP B  frame  is  used  to  perform  the functions listed
  1996.           below.  The bottom line of  the  frame  represents  the  features
  1997.           which are set or reset.  See  the next section for details of the
  1998.           features.   The  number  of  data  bits  and the parity type  are
  1999.           displayed.  The COM port speed is displayed.   The  selected  COM
  2000.           port is displayed.  LPTx is displayed to  indicate  the  selected
  2001.           line printer (either LPT1 or LPT2).
  2002.  
  2003.             The currently selected host is  displayed  in the center of the
  2004.           screen.  If  no  host has been selected in the DIALER frame, this
  2005.           field  will  display as all periods.  See Chapter 9  for  details
  2006.           about saving unique host SETUP information.
  2007.  
  2008.             Here are the functions available in SETUP B:
  2009.  
  2010.           Exit SETUP :    Press the ESC key or CTRL-F1  to exit SETUP B and
  2011.                           return to the communications frame.
  2012.  
  2013.           Go to SETUP A :
  2014.                           The "5" key selects the SETUP A frame.
  2015.  
  2016.           Toggle 1/0 :    The "6" key sets(1) or resets(0) a feature at the
  2017.                           column position  of  the  cursor.   The  left and
  2018.                           right arrows, the tab key, the space bar, and the
  2019.                           ENTER key can be used  to  move the cursor to the
  2020.                           column in which you want  to  set  or  clear  the
  2021.                           feature.  Features displayed with  an "X" are set
  2022.                           to an automatic  default  and  cannot be changed.
  2023.                           Other features will change from a "1" to a "0" or
  2024.                           from a "0" to a "1" to indicate that the state of
  2025.                           the feature  has been changed.  The digit will be
  2026.                           highlited to indicate that a change was made.  To
  2027.                           preserve these features in  your USER MEMORY disk
  2028.                           file you must perform a  "SHIFT-S  -  Store  into
  2029.                           USER  MEMORY"  command  in  the  SETUP  A  frame.
  2030.                           Otherwise,  the old values will be reloaded  when
  2031.                           you again start up PC-VT.
  2032.  
  2033.           COM Port Selection :
  2034.                           COM1 or COM2 can be selected by flipping the  4th
  2035.                           bit of the 6th group of feature bits shown on the
  2036.                           bottom of the SETUP B frame.  The  word  COM1  or
  2037.                           COM2 will display next to the word MODEM on  this
  2038.                           frame to indicate which RS232 port is in  use  by
  2039.                           PC-VT.  If you want to change ports, just  go  to
  2040.  
  2041.  
  2042.  
  2043.           Page 28       Copyright 1984,1985 Mark C. DiVecchio
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.           PC-VT v8.3                                           SETUP Frames
  2051.  
  2052.  
  2053.  
  2054.                           SETUP B frame, space over  to  the 4th bit of the
  2055.                           6th group and then press the "6" key.  This  will
  2056.                           cause the 1 or 0 in  the  feature  bit  to  flip.
  2057.                           Then return to the SETUP A frame by pressing  "5"
  2058.                           and  store  the  new  value into USER  MEMORY  by
  2059.                           pressing SHIFT-S.
  2060.  
  2061.           Modem Speed Control :
  2062.                           The "7" key  causes  PC-VT to display the various
  2063.                           Modem  speeds supported.  The currently  selected
  2064.                           speed is displayed  under  the MODEM title on the
  2065.                           screen.   Press the "7" key repeatedly until  the
  2066.                           speed  you  need  is displayed.   The  new  speed
  2067.                           selected  will  be highlited to indicate  that  a
  2068.                           change was made.  The supported speeds are:
  2069.  
  2070.                           100 baud                150 baud
  2071.                           300 baud                600 baud
  2072.                           1200 baud (default)     2400 baud
  2073.                           4800 baud               9600 baud
  2074.  
  2075.                           To  preserve  this speed selection in  your  USER
  2076.                           MEMORY disk file you  must  perform  a "SHIFT-S -
  2077.                           Store into USER MEMORY"  command  in  the SETUP A
  2078.                           frame.   Otherwise,  the  old  values   will   be
  2079.                           reloaded when you again start up PC-VT.
  2080.  
  2081.           Select Data/Parity Bits :
  2082.                           The  SHIFT-P  key  causes PC-VT  to  display  the
  2083.                           various  data  bits/parity bits  supported.   The
  2084.                           currently   selected    Data   bits/Parity   bits
  2085.                           combination is displayed on  the screen under the
  2086.                           MODEM title.  Press the  SHIFT-P  key  repeatedly
  2087.                           until the data bits/parity bits  combination  you
  2088.                           need  is  displayed.  The new selection  will  be
  2089.                           highlited  to  indicate that a change  was  made.
  2090.                           The supported combinations are:
  2091.  
  2092.                           7O      7 data bits - odd parity
  2093.                           7E      7 data bits - even parity
  2094.                           7N      7 data bits - no parity
  2095.                           8O      8 data bits - odd parity
  2096.                           8E      8 data bits - even parity
  2097.                           8N      8 data bits - no parity (default)
  2098.  
  2099.                           The 7E  setting  is  the best for UNIX and the 8N
  2100.                           setting is best for VMS.
  2101.  
  2102.                           To    preserve   these   Data   bit/Parity    bit
  2103.                           combinations in your  USER  MEMORY  disk file you
  2104.                           must perform a "SHIFT-S - Store into USER MEMORY"
  2105.                           - command in  the  SETUP A frame.  Otherwise, the
  2106.  
  2107.  
  2108.  
  2109.                         Copyright 1984,1985 Mark C. DiVecchio       Page 29
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.           SETUP Frames                                           PC-VT v8.3
  2117.  
  2118.  
  2119.  
  2120.                           old values  will be reloaded when you again start
  2121.                           up  PC-VT.   If  you  are running a  212A  modem,
  2122.                           certain   of   the  data   bits/parity/stop   bit
  2123.                           combinations  are  invalid.    Check  your  modem
  2124.                           manual for the valid combinations.
  2125.  
  2126.                           Note that actual  parity  checking  is enabled by
  2127.                           setting a feature in this frame.  Parity checking
  2128.                           defaults to off.  See the next section.
  2129.  
  2130.           Set Answerback Message :
  2131.                           The SHIFT-A key permits  you  to  enter a message
  2132.                           with  which  PC-VT  will  use  to  respond to  an
  2133.                           Enquire control character.  Any character with an
  2134.                           ASCII code from 0 to  127  can be entered in this
  2135.                           message (Including the use of the ALT key and the
  2136.                           numbers  on  the  PC's keypad  to  enter  special
  2137.                           characters).   To   enter   the   message,  press
  2138.                           SHIFT-A.  PC-VT will  display  the  prompt  "A=".
  2139.                           The  prompt will be highlited and blinking.   You
  2140.                           may   then  type  in  the  message.   The   first
  2141.                           character typed  is  considered  a  delimiter  by
  2142.                           PC-VT.  This character must not be present in the
  2143.                           answerback  message  itself and is used  only  to
  2144.                           bracket the message since control characters like
  2145.                           carriage  return  can  be part  of  the  message.
  2146.                           Following  the   message,   type   the  delimiter
  2147.                           character  and  the  message will  be  stored  in
  2148.                           memory.  If you  make  a typing mistake, you must
  2149.                           type  the  delimiter  character  and  start   the
  2150.                           process  over  again.   This   is   because   the
  2151.                           backspace key will not act as a text  editor  but
  2152.                           will  actually  be   entered   as   part  of  the
  2153.                           answerback message.  While you are entering  this
  2154.                           message, non-displayable characters will be shown
  2155.                           as a diamond.   The  message will be highlited to
  2156.                           indicate  that  a  change   is  being  made.   To
  2157.                           preserve this message  in  your  USER MEMORY disk
  2158.                           file you must perform a  "SHIFT-S  -  Store  into
  2159.                           USER  MEMORY"  - command in the  SETUP  A  frame.
  2160.                           Otherwise,  the  old  message, if  any,  will  be
  2161.                           reloaded when you again start up PC-VT.
  2162.  
  2163.                           The default answerback message  is null, that is,
  2164.                           nothing is transmitted in  response to an Enquire
  2165.                           control character.
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.           Page 30       Copyright 1984,1985 Mark C. DiVecchio
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.           PC-VT v8.3                                           SETUP Frames
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.           6.2.1 SETUP B Features and Defaults
  2189.  
  2190.             The SETUP B  frame  is  used  to select features of PC-VT.  The
  2191.           features  are  listed  below  along  with  their  defaults.   The
  2192.           procedures for changing  and  saving these features was described
  2193.           in the first part of this section.  As you move the cursor across
  2194.           the  bottom  of  the  frame  using  the  cursor   keys,  a  short
  2195.           description of the meaning of the  feature  and  its  values  are
  2196.           displayed.
  2197.  
  2198.             A default of (X) indicates that the feature is not supported or
  2199.           is reserved.  The default values are shown in parentheses.
  2200.  
  2201.           Group 1
  2202.  
  2203.           Scroll (X)      The IBM PC does not support smooth scroll.
  2204.  
  2205.           Auto Repeat (1)
  2206.                           0  =  Disable   autorepeat.    PC-VT   can   only
  2207.                           approximate this function  since  it  is  handled
  2208.                           within the keyboard.  PC-VT clears  the  keyboard
  2209.                           buffer after each key  is read.  This effectively
  2210.                           clears  the   buffer   of   any   auto   repeated
  2211.                           characters.
  2212.  
  2213.                           1 = Enable autorepeat.
  2214.  
  2215.           Screen Background (0)
  2216.                           0 = dark background
  2217.  
  2218.                           1 = light background
  2219.  
  2220.           Cursor (0)      0 = underline cursor
  2221.  
  2222.                           1 = block cursor
  2223.  
  2224.  
  2225.           Group 2
  2226.  
  2227.           Margin Bell (0)
  2228.                           Select margin bell.
  2229.                           0 = Off
  2230.                           1 = On
  2231.                           If this feature is turned on, PC-VT will beep the
  2232.                           speaker  each time that the cursor enters  column
  2233.                           72 from column  71  under control of the keyboard
  2234.                           or  the  host.  This feature is  best  used  when
  2235.                           entering  text from the keyboard.  Any other  use
  2236.                           may  cause  unpredictable results  especially  in
  2237.                           full screen modes.
  2238.  
  2239.  
  2240.  
  2241.                         Copyright 1984,1985 Mark C. DiVecchio       Page 31
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.           SETUP Frames                                           PC-VT v8.3
  2249.  
  2250.  
  2251.  
  2252.           Key Click (X)   Key Click is not supported.
  2253.  
  2254.           ANSI/VT52 (1)   Select terminal mode.
  2255.                           0 = VT52 compatibility mode.
  2256.                           1 = ANSI mode.  That is, either  VT100  or  VT102
  2257.                           depending on the setting of the Terminal Type bit
  2258.                           in Group 6 below.
  2259.  
  2260.           Auto XON/XOFF (1)
  2261.                           0 = XOFF is ignored.  PC-VT's buffer may overflow
  2262.                           without warning or indication.
  2263.                           1 = XOFF  stops  PC-VT  from transmitting.  PC-VT
  2264.                           stops transmitting characters  when  an  XOFF  is
  2265.                           received and will transmit  an  XOFF  when 75% of
  2266.                           its receive buffer is full (1536 characters).  It
  2267.                           will then transmit  XON  when the buffer has been
  2268.                           emptied  to  10% full (204 characters).   If  the
  2269.                           host ignores the XOFF  character and continues to
  2270.                           send,  PC-VT  will  display a  '#'  character  to
  2271.                           indicate  that  data has been lost.   When  PC-VT
  2272.                           receives an XOFF,  an  'X' is displayed in column
  2273.                           41 of the Status Line.  If  you  try  to  type  a
  2274.                           character when the 'X'  is displayed, PC-VT beeps
  2275.                           and rejects the  character.   If the 'X' comes on
  2276.                           because of noise on  the communications line, you
  2277.                           can clear it by pressing the ALT-X key.  See  the
  2278.                           ALT-X  key  definition in the appendix  for  more
  2279.                           details.
  2280.  
  2281.  
  2282.           Group 3
  2283.  
  2284.           Character Set (0)
  2285.                           0 = Select  US  Characters.  The US character set
  2286.                           is selected as the default.
  2287.                           1 = Select  UK  Characters.  The UK character set
  2288.                           is selected as the default.
  2289.  
  2290.                           (Note that the only difference between the two is
  2291.                           the SHIFT-3 character.  In the US set, it is  the
  2292.                           "#" sign.  In the UK set,  it  is  the  UK  Pound
  2293.                           sign.)
  2294.  
  2295.           Auto Wrap (0)   0 = Auto wrap off.  If the cursor is at the right
  2296.                           margin and another character is  received,  PC-VT
  2297.                           displays  that   character   and   all  following
  2298.                           received characters at the right margin  position
  2299.                           effectively writing over one another.
  2300.                           1 = Auto wrap on -  If the cursor is at the right
  2301.                           margin and another character is  received,  PC-VT
  2302.                           will perform  a  carriage  return  and  line feed
  2303.                           before displaying that character.
  2304.  
  2305.  
  2306.  
  2307.           Page 32       Copyright 1984,1985 Mark C. DiVecchio
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.           PC-VT v8.3                                           SETUP Frames
  2315.  
  2316.  
  2317.  
  2318.           Line Feed / New Line (0)
  2319.                           0 = LF/NL off  -  Pressing  ENTER  sends  only  a
  2320.                           carriage return  to the host.  The host must echo
  2321.                           a  carriage  return  and  line feed to  move  the
  2322.                           cursor to the beginning of the next line.
  2323.                           1 = LF/NL  on  -  Pressing  ENTER  sends  both  a
  2324.                           carriage return and a line feed to the  host.   A
  2325.                           line  feed  is  processed just  like  a  carriage
  2326.                           return.
  2327.  
  2328.           Local Echo (0)  0 = Local echo  off.   -  The host must echo back
  2329.                           all  typed  characters in order for  them  to  be
  2330.                           displayed on the screen.
  2331.                           1  =  Local echo on -  PC-VT  will  automatically
  2332.                           display all characters typed.   The host need not
  2333.                           echo them back.
  2334.  
  2335.  
  2336.           Group 4
  2337.  
  2338.           Print Termination Character (1)
  2339.                           0 = none - No control characters are  sent to the
  2340.                           line printer following a print screen operation.
  2341.                           1 = Form feed - A form feed is sent to  the  line
  2342.                           printer following a print screen operation.
  2343.  
  2344.           Print Extent (1)
  2345.                           0 = Scrolling  region  - A print screen operation
  2346.                           will print the scrolling region  as  set  by  the
  2347.                           host computer only.
  2348.                           1 = Full screen - A print screen  operation  will
  2349.                           print the entire screen.
  2350.  
  2351.           Stop Bits (0)   0 = 1 stop bit is used by the RS232 interface.
  2352.                           1 = 2 stop bits are used by the RS232 interface.
  2353.  
  2354.           Receive Parity (0)
  2355.                           0 = Parity on received data is not checked.
  2356.                           1 = Parity checking is enabled.  PC-VT displays a
  2357.                           '!'  character in place of the character with the
  2358.                           bad parity.
  2359.  
  2360.  
  2361.           Group 5
  2362.  
  2363.           Backspace (0)   0 =  Send  the backspace key as 7Fh (ASCII 127) -
  2364.                           the VT10x DELETE key.
  2365.                           1 = Send the backspace key as 08h  -  the  IBM PC
  2366.                           standard. When  you are doing this, you can still
  2367.                           send a DEL (ASCII 127) by pressing ALT-=.  (Press
  2368.                           the ALT  key  and  the equal sign key at the same
  2369.                           time.)
  2370.  
  2371.  
  2372.  
  2373.                         Copyright 1984,1985 Mark C. DiVecchio       Page 33
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.           SETUP Frames                                           PC-VT v8.3
  2381.  
  2382.  
  2383.  
  2384.           Disconnect Character Enable (0)
  2385.                           0 = Terminal ignores the disconnect character.
  2386.                           1 =  If PC-VT receives the disconnect character (
  2387.                           an EOT with an ASCII value of 4),  it transmits a
  2388.                           sustained Break and  disconnects  from  the  host
  2389.                           computer.
  2390.  
  2391.           Fast Screen (0)
  2392.                           0 = PC-VT will not do direct reads or writes into
  2393.                           video memory.  This  is  the  most DOS compatible
  2394.                           mode.  It is also  the  slowest  mode.  The color
  2395.                           graphics display adapter will not be able to keep
  2396.                           up with 9600 baud in this  mode.   Note  that  no
  2397.                           data  will  be lost.  PC-VT will  send  XOFF  and
  2398.                           XON.
  2399.                           1 = PC-VT will do direct reads  and  writes  into
  2400.                           video memory.  This mode will cause  interference
  2401.                           on  the color graphics display adapter but  PC-VT
  2402.                           will be able to keep up with 9600  baud.  For the
  2403.                           monochrome  card, this setting does not make  any
  2404.                           difference.
  2405.  
  2406.           Operating System (1)
  2407.                           0 = The UNIX VI keypad mapping  is  selected  for
  2408.                           the IBM  PC keypad.  Control-D is selected as the
  2409.                           End of File character for ASCII file upload.
  2410.                           1 = The VMS EDT keypad mapping  is  selected  for
  2411.                           the IBM  PC keypad.  Control-Z is selected as the
  2412.                           End of File character for ASCII file upload.
  2413.                           See Chapter 5 for the keypad mappings and Chapter
  2414.                           8 for ASCII file upload description.
  2415.  
  2416.  
  2417.           Group 6
  2418.  
  2419.           Line Printer (0)
  2420.                           0 = LPT1 is selected.
  2421.                           1 = LPT2 is selected.
  2422.  
  2423.           Buffer Size (1)
  2424.                           0 = Use a 256 byte communications buffer.
  2425.                           1 = Use a 2048 byte communications buffer.
  2426.                           Use  of  the  larger   buffer  will  cause  fewer
  2427.                           XON/XOFF sequences between PC-VT  and  the  host.
  2428.                           It will  also slow the response to CTRL-C, CTRL-O
  2429.                           and CTRL-Y commands.  For some text editors which
  2430.                           do not use XON/XOFF, the larger buffer size works
  2431.                           better.
  2432.  
  2433.           Terminal type (0)
  2434.                           0 = PC-VT emulates a VT102.
  2435.                           1 = PC-VT emulates a VT100.
  2436.  
  2437.  
  2438.  
  2439.           Page 34       Copyright 1984,1985 Mark C. DiVecchio
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.           PC-VT v8.3                                           SETUP Frames
  2447.  
  2448.  
  2449.  
  2450.           COM Port (0)    0 = PC-VT uses COM1 as the communications port.
  2451.                           1 = PC-VT uses COM2 as the communications port.
  2452.  
  2453.  
  2454.           Group 7
  2455.  
  2456.           DMA (1)         0  =  PC-VT  will not use direct memory reads  or
  2457.                           writes into video memory  while saving the screen
  2458.                           when you switch into the SETUP or other auxiliary
  2459.                           frame.  The screen will still be saved but at the
  2460.                           much slower pace of the BIOS.  This is  the  most
  2461.                           DOS compatible mode.
  2462.                           1 = PC-VT will use direct memory reads and writes
  2463.                           into video memory  while  saving  the screen when
  2464.                           you switch  into  the  SETUP  or  other auxiliary
  2465.                           frame.
  2466.  
  2467.           Reserved (X)    Reserved for PC-VT.
  2468.  
  2469.           Clock (1)       0 = Do not display the clock  and MODEM status on
  2470.                           the Status Line.
  2471.                           1 = Display the  time  of  day  clock  and  MODEM
  2472.                           status on the Status Line.
  2473.  
  2474.           256 Char (0)    0 = If 8  bit  data  is selected for receive, the
  2475.                           8th bit (high order bit)  is  cleared  to  binary
  2476.                           zero if it is a binary one when received.   PC-VT
  2477.                           will  display characters only from the first  128
  2478.                           ASCII codes.  (XMODEM always uses all 8 bits.)
  2479.                           1 =  If  8  bit data is selected for receive, the
  2480.                           8th bit is interpreted as the high order  bit  of
  2481.                           an  8  bit  ASCII character.   this  permits  256
  2482.                           character codes to  be  displayed  on the screen.
  2483.                           This  is  NOT a VT function and the use  of  this
  2484.                           option may cause unpredictable results.
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.                         Copyright 1984,1985 Mark C. DiVecchio       Page 35
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.           The PARAMS.DAT File                                    PC-VT v8.3
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.                                       Chapter 7
  2523.  
  2524.                                  The PARAMS.DAT File
  2525.  
  2526.  
  2527.  
  2528.             PC-VT maintains a USER MEMORY file on  disk.  This file is used
  2529.           to record user selected features and tab stops.  The file is read
  2530.           each time that you start up PC-VT so  your selected configuration
  2531.           is restored each time.
  2532.  
  2533.  
  2534.  
  2535.  
  2536.           7.1 Creation
  2537.  
  2538.  
  2539.             The  file  is  automatically  created  with  default values  as
  2540.           defined in Chapter 6  if  the  file does not exist on the default
  2541.           drive.
  2542.  
  2543.  
  2544.  
  2545.  
  2546.           7.2 Location
  2547.  
  2548.  
  2549.             The  file  name  is  PARAMS.DAT.   The  file is created in  the
  2550.           directory pointed to by the 'PC-VT=' string in  the  environment.
  2551.           If there is no  such  string  in the environment or you are using
  2552.           DOS 1.0 or 1.1, the file  is created on the PC-DOS default drive.
  2553.           Chapter 3 on starting PC-VT describes how to use this string.
  2554.  
  2555.  
  2556.  
  2557.  
  2558.           7.3 Updating
  2559.  
  2560.  
  2561.             The file  is  rewritten upon request while in the SETUP A frame
  2562.           by pressing SHIFT-S.
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.           Page 36       Copyright 1984,1985 Mark C. DiVecchio
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.           PC-VT v8.3                                    The PARAMS.DAT File
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.           7.4 Error Messages
  2587.  
  2588.  
  2589.             There  are   several   messages   generated   by   PC-VT  while
  2590.           manipulating this file.
  2591.  
  2592.           "New USER MEMORY File Created":
  2593.                           PC-VT could not  find  PARAMS.DAT  on the default
  2594.                           disk drive so it created a file with the  default
  2595.                           feature   selections   and  tab   stops.    PC-VT
  2596.                           continues.
  2597.  
  2598.           "Disk Directory Full":
  2599.                           PC-VT could not find  space  in  the directory of
  2600.                           the default disk drive  when  it  tried to create
  2601.                           the PARAMS.DAT file.  PC-VT terminates.
  2602.  
  2603.           "Disk Full While Writing USER MEMORY File":
  2604.                           PC-VT ran out of space on the default disk  drive
  2605.                           while   creating  the  PARAMS.DAT  file.    PC-VT
  2606.                           terminates.
  2607.  
  2608.           "Disk Swap Error - See User Manual":
  2609.                           PC-VT  found a different diskette in the  default
  2610.                           drive from  the time that the directory entry was
  2611.                           created and  the  file  PARAMS.DAT  was  written.
  2612.                           Since the time  between  these two events is very
  2613.                           small, this  error  message  indicates  a  severe
  2614.                           hardware or  system  failure.   PC-VT terminates.
  2615.                           This error should never  happen  if  PC-VT is run
  2616.                           from a fixed disk.
  2617.  
  2618.           "Error While Opening USER MEMORY File":
  2619.                           PC-VT failed to successfully open the  PARAMS.DAT
  2620.                           file  on  the default disk.  This  usually  means
  2621.                           that the disk directory  has been damaged.  PC-VT
  2622.                           terminates.
  2623.  
  2624.           "USER MEMORY File Access Error":
  2625.                           An error occurred while  reading  the  PARAMS.DAT
  2626.                           file  from the default disk.  Usually means  that
  2627.                           the  file  has   been  accidentally  overwritten.
  2628.                           PC-VT terminates.
  2629.  
  2630.           "Can't find PARAMS.DAT.  F1 to cancel, space to try again.":
  2631.                           This usually  means  that  the  default  diskette
  2632.                           drive is empty or the door is open.  Correct  the
  2633.                           situation and  hit  the  space  key  to continue.
  2634.  
  2635.  
  2636.  
  2637.                         Copyright 1984,1985 Mark C. DiVecchio       Page 37
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.           The PARAMS.DAT File                                    PC-VT v8.3
  2645.  
  2646.  
  2647.  
  2648.                           Press F1 to terminate PC-VT.
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.           Page 38       Copyright 1984,1985 Mark C. DiVecchio
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.           PC-VT v8.3                       Transmitting and Receiving Files
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.                                       Chapter 8
  2721.  
  2722.                            Transmitting and Receiving Files
  2723.  
  2724.  
  2725.  
  2726.             PC-VT  has  complete  transmitting   (upload)   and   receiving
  2727.           (download)  facilities.  These facilities are accessed using  the
  2728.           CTRL-F4 and CTRL-F3 keys.  These keys can be  activated  whenever
  2729.           you  are  in  the  communications  frame.   PC-VT performs  these
  2730.           functions on any ASCII character or binary file.  The binary file
  2731.           transfer  uses  the  XMODEM  protocol  and   must   be   over   a
  2732.           communications line set  at  8  data  bits, no parity, and 1 stop
  2733.           bit( PC-VT will  automatically  switch the communications line to
  2734.           8-N-1 before it starts an  XMODEM  transfer and will restore your
  2735.           set value when the transfer is complete).   XMODEM can be used to
  2736.           transfer ASCII  files  for  greater  error  detection capability.
  2737.           Both the ASCII and XMODEM  protocols  are  compatible  with  RBBS
  2738.           software.
  2739.  
  2740.             In the descriptions which follow, the computer referred  to  as
  2741.           the host, is assumed to be a  VAX-11 running VMS.  All references
  2742.           to an IBM PC  filename  include  a  drive  letter,  the path, the
  2743.           filename   and    the    file    extension,    for    example   -
  2744.           a:\usr\bin\file.ext.  If no drive letter or path is given,  PC-VT
  2745.           will access the current PC-DOS default directory.  You can change
  2746.           the default drive and directory by  pressing  CTRL-F2.   See  the
  2747.           last section in this chapter for details.  If you are not running
  2748.           DOS 2.0 or later, you must  enter the filenames with only a drive
  2749.           letter.
  2750.  
  2751.  
  2752.           8.0.1 Transmitting ASCII Files (Uploading)
  2753.  
  2754.             To transmit or upload an ASCII  file to the host, the host must
  2755.           be set to receive the file and then PC-VT can be told to transmit
  2756.           it.  The host  computer  can  be  told to execute a program which
  2757.           reads the terminal or more simply, the VMS  COPY  command  can be
  2758.           used.  Once you have started PC-VT and logged on to the host, you
  2759.           will see the "$"  VMS  command  line prompt.  You can use the VMS
  2760.           COPY command as follows:
  2761.  
  2762.  
  2763.                           COPY TT: <filename>
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.                         Copyright 1984,1985 Mark C. DiVecchio       Page 39
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.           Transmitting and Receiving Files                       PC-VT v8.3
  2777.  
  2778.  
  2779.  
  2780.             The host will then wait for characters to be transmitted by the
  2781.           terminal.  To request PC-VT  to  start  uploading, press CTRL-F4.
  2782.           You will be prompted for the name of the PC file to upload.  Type
  2783.           the filename followed by =a and them press  ENTER.  Pressing just
  2784.           ENTER cancels the transmit request.   If  PC-VT finds the file as
  2785.           specified, it will transmit it to the host.  If the file  is  not
  2786.           found, you will  be  prompted  again  for  the  filename.  The =a
  2787.           option on the end of  the  filename indicates ASCII file transfer
  2788.           mode.
  2789.  
  2790.             At the end of the file,  if you have selected the VMS operating
  2791.           system in the SETUP frame PC-VT  asks if you want a CTRL-Z (ASCII
  2792.           code 26) sent  to  the  host.   The CTRL-Z will terminate the VMS
  2793.           COPY command.  An upper or lower case  "y" must be typed followed
  2794.           by ENTER to send the CTRL-Z. If you are  running  UNIX  and  have
  2795.           done a CAT command, PC-VT will ask if you  want  a CTRL-D sent to
  2796.           the host.
  2797.  
  2798.             PC-VT strips all Line Feed characters (ASCII code 10) before it
  2799.           transmits the file.  All other characters are transmitted.  PC-VT
  2800.           detects the end of the PC file by  looking  for  a  CTRL-Z  as it
  2801.           reads the disk file.
  2802.  
  2803.             A very useful  feature  of  this  routine,  is  that it handles
  2804.           XOFF/XON characters  received from the host during the uploading.
  2805.           This prevents the host from losing  data if it is busy.  The host
  2806.           will  send  an  XOFF  if  its  buffer  is  filling.   PC-VT  will
  2807.           automatically  stop  transmitting   until   a   XON  is  received
  2808.           indicating that the host has  emptied  its buffer.  You should be
  2809.           sure that this  feature  is  enabled  under your logon on the VMS
  2810.           system.  To do this, use the VMS SET command:
  2811.  
  2812.                           SET TERMINAL /HOSTSYNC
  2813.  
  2814.             This command should be put  in  your LOGIN.COM file unless your
  2815.           VMS system sets this feature as a default.
  2816.  
  2817.             If you wish to cancel the transmission  while the file is being
  2818.           transmitted, simply press CTRL-F4 at any time.  PC-VT will prompt
  2819.           with the CTRL-Z message and then  terminate  the  upload.   PC-VT
  2820.           ignores all other keys pressed during an upload.
  2821.  
  2822.             If you don't request the transmission  of  a  CTRL-Z,  you  can
  2823.           press  CTRL-F4  again  and  send  another  file.   The  new  file
  2824.           transmitted will  be  read  by  the  same  COPY  command  entered
  2825.           earlier.  You can use this to append many files to one another as
  2826.           you transmit them.
  2827.  
  2828.             In addition, in VMS mode, the  host can cancel the upload if it
  2829.           needs to.  If the host sends a CTRL-Z (ASCII 26) while  PC-VT  is
  2830.           doing an ASCII file upload, PC-VT  will  immediately  cancel  the
  2831.           upload.  In UNIX mode, the host  can also cancel the upload if it
  2832.  
  2833.  
  2834.  
  2835.           Page 40       Copyright 1984,1985 Mark C. DiVecchio
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.           PC-VT v8.3                       Transmitting and Receiving Files
  2843.  
  2844.  
  2845.  
  2846.           needs to.  If the host sends a CTRL-D while  PC-VT  is  doing  an
  2847.           ASCII file upload, PC-VT will immediately cancel the upload.
  2848.  
  2849.             There  are   several   messages   generated   by   PC-VT  while
  2850.           transmitting a file:
  2851.  
  2852.           "Current default directory is >":
  2853.                           The current default directory is displayed.   For
  2854.                           DOS 1.1 users, this is just the default drive.
  2855.  
  2856.           "Drive d: xxxxxx bytes free":
  2857.                           The number of free bytes on the default drive  is
  2858.                           displayed.   This  is displayed only if  you  are
  2859.                           using DOS 2.0 or later.
  2860.  
  2861.  
  2862.           "Enter Name of the PC File to Transmit
  2863.           [d:][path][filename[.ext]][={a,X,c,t}]
  2864.           (Press ENTER to cancel upload and return to emulator):":
  2865.  
  2866.                           PC-VT is  asking  for  the name of the PC file to
  2867.                           transmit.  Type  the  filename  in  the  standard
  2868.                           PC-DOS format and  press  ENTER.   Pressing  just
  2869.                           ENTER cancels the transmitting routine.  If  your
  2870.                           DOS supports path  names,  they can be used here.
  2871.                           If you do not specify a drive or path, PC-VT will
  2872.                           access   the  default  directory.   The   default
  2873.                           directory  can  be  changed  with   the   CTRL-F2
  2874.                           command.  See the  last  section  in this chapter
  2875.                           for details.   The =a option starts up ASCII file
  2876.                           transfer.The  =x  and  =c options  start  up  the
  2877.                           XMODEM protocol.  The  =t  option  starts up file
  2878.                           transfer   with  handshaking.   These  are   both
  2879.                           explained   below.   PC-VT  DEFAULTS  to   XMODEM
  2880.                           protocol if you do not enter an option.  The  'X'
  2881.                           is capitalized on  the  prompt only to remind you
  2882.                           that the default  is  XMODEM  file transfer.  You
  2883.                           can type the x in lower case.
  2884.  
  2885.           "Should a CTRL-Z be transmitted?  (y or n) :":
  2886.                           If you  have selected the VMS operating system in
  2887.                           the SETUP frame and  PC-VT  detects  CTRL-Z as an
  2888.                           end of  file indicator, it does not transmit that
  2889.                           code to the host unless you respond positively to
  2890.                           this  query.   Type an upper or  lower  case  "y"
  2891.                           followed  by  ENTER  and PC-VT  will  transmit  a
  2892.                           CTRL-Z.  If  you type any other character or just
  2893.                           ENTER, CTRL-Z will not be transmitted.  With this
  2894.                           feature,  CTRL-F4  can  be  activated  again  and
  2895.                           several  PC  files can be concatenated  into  one
  2896.                           host file.
  2897.  
  2898.  
  2899.  
  2900.  
  2901.                         Copyright 1984,1985 Mark C. DiVecchio       Page 41
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.           Transmitting and Receiving Files                       PC-VT v8.3
  2909.  
  2910.  
  2911.  
  2912.           "Should a CTRL-D be transmitted?  (y or n) :":
  2913.                           If you have selected the UNIX operating system in
  2914.                           the SETUP frame and  PC-VT  detects  CTRL-Z as an
  2915.                           end of file  indicator,  it does not transmit the
  2916.                           end of file code to the host unless  you  respond
  2917.                           positively to this query.  Type an upper or lower
  2918.                           case  "y"  followed  by   ENTER  and  PC-VT  will
  2919.                           transmit  a  CTRL-D.   If   you  type  any  other
  2920.                           character  or  just  ENTER, CTRL-D  will  not  be
  2921.                           transmitted.  With this feature, CTRL-F4  can  be
  2922.                           activated  again  and  several PC  files  can  be
  2923.                           concatenated into one host file.
  2924.  
  2925.           "Transmission Complete":
  2926.                           File uploading is complete.
  2927.  
  2928.           "Transmission Canceled":
  2929.                           CTRL-F4 was pressed during a  file  transmission.
  2930.                           The uploading is immediately canceled.
  2931.  
  2932.           "Filename is not in correct format":
  2933.                           The filename entered in  response to the filename
  2934.                           inquiry is not a valid  DOS  filename.   You  may
  2935.                           re-enter the filename.
  2936.  
  2937.           "File not found as specified":
  2938.                           PC-VT could not find  the  file  on the specified
  2939.                           disk.   Usually caused by either the wrong  drive
  2940.                           letter, directory or a  mistyped  filename.   You
  2941.                           may re-enter the filename.
  2942.  
  2943.  
  2944.           8.0.1.1 Uploading with Handshake
  2945.  
  2946.             If you append an "=t"  on the end of the filename when you type
  2947.           it in, PC-VT will upload the ASCII file as described above except
  2948.           that the program will wait  for  a turnaround character before it
  2949.           sends the next line.  The turnaround  character  is  set  in  the
  2950.           SETUP-A  frame.   This  feature  is useful if  the  host  is  not
  2951.           buffered.  PC-VT won't send any characters  until  the  host  has
  2952.           processed  the  last  line  transmitted and prompts  for  another
  2953.           line.  This turnaround character is  sometimes  called  a  bypass
  2954.           character.  For a typical VAX system  you may want to set this to
  2955.           a linefeed (ASCII 10)  or  a  dollar sign (ASCII 36) which is the
  2956.           default  value  for  PC-VT.   In  addition,  a  CTRL-Z   is   not
  2957.           transmitted at the end of the file.  This upload as well  as  the
  2958.           regular ASCII upload can be canceled by pressing CTRL-F4.   Other
  2959.           keys are ignored while the upload is in progress.
  2960.  
  2961.             Operation is as follows: you initiate the  upload  by  pressing
  2962.           CTRL-F4.  You give PC-VT the filename  with  the  "=t"  appended.
  2963.           PC-VT sends the first  line  of  the file up to a carriage return
  2964.  
  2965.  
  2966.  
  2967.           Page 42       Copyright 1984,1985 Mark C. DiVecchio
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.           PC-VT v8.3                       Transmitting and Receiving Files
  2975.  
  2976.  
  2977.  
  2978.           (ASCII 13). PC-VT then waits until the host  sends the turnaround
  2979.           character.  PC-VT then sends  the  next  line of the file up to a
  2980.           carriage return and so on.  Following the  last line of the file,
  2981.           the keyboard is enabled again for you to type to the host.
  2982.  
  2983.             Three dynamic features make this easier to use:
  2984.  
  2985.             1.  The turnaround character can be changed in the middle of an
  2986.                 uploaded file.   To  do  this, as you are creating the file
  2987.                 enter  an  ASCII 1  into  the  file  followed  by  the  new
  2988.                 turnaround character.  The ASCII  1  (a  control A) signals
  2989.                 PC-VT that  the  next character read from the file is be to
  2990.                 set as the new turnaround character.  Neither the  ASCII  1
  2991.                 nor the new turnaround character is sent to the host.  This
  2992.                 new turnaround character will be visible  in  the  SETUP  A
  2993.                 frame.  This  does  mean that you cannot have an ASCII 1 in
  2994.                 any uploaded text handshake file  but  that should not be a
  2995.                 problem since ASCII 1 is rarely used in a text file.
  2996.  
  2997.             2.  An ASCII 2 (a control B)  in the file signals PC-VT to wait
  2998.                 for 1 second before proceeding to the next character.  This
  2999.                 is  a  "pause"  feature.   You  can  have as many of  these
  3000.                 characters in  a  row as you like to make up longer pauses.
  3001.                 The ASCII 2 is not sent  to the host.  This also means that
  3002.                 you  cannot  have an ASCII 2 in any upload  text  handshake
  3003.                 file  but  that should not be a problem since  ASCII  2  is
  3004.                 rarely used in a text file.
  3005.  
  3006.             3.  An ASCII 20 (a control T) in the  file  signals  PC-VT that
  3007.                 the next character in the file is a binary value specifying
  3008.                 the number of seconds to wait  after  the  receipt  of  the
  3009.                 turnaround character before PC-VT sends the next line.  For
  3010.                 example to have PC-VT wait for 5 seconds before  responding
  3011.                 to each turnaround character, enter a CTRL-T followed by  a
  3012.                 CTRL-E (ASCII 5) into the file.  Once this value is set, it
  3013.                 remains set until you terminate PC-VT or you set it to some
  3014.                 other value.  Remember, it will wait after the  receipt  of
  3015.                 each turnaround character.  Default value is zero seconds.
  3016.  
  3017.             The scanning for these  three  special  control characters only
  3018.           takes place  if  you started the upload with the "=t" option.  If
  3019.           you started a regular upload, that is with the "=a" option, these
  3020.           characters are uploaded just like all others and the handshake is
  3021.           disabled.  If, while you are setting up your  files,  you  make a
  3022.           mistake and PC-VT is waiting  for  prompt which will never occur,
  3023.           just press CTRL-F4 and PC-VT returns  to  normal  keyboard  input
  3024.           mode.
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.                         Copyright 1984,1985 Mark C. DiVecchio       Page 43
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.           Transmitting and Receiving Files                       PC-VT v8.3
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.           8.0.1.2 Example of a transmission session
  3047.  
  3048.             This is typical of  what  you  would see and type to transmit a
  3049.           file to the host.
  3050.  
  3051.           $ copy tt: up.fil
  3052.                   "press the CTRL-F4 key"
  3053.           Current default directory is
  3054.           >a:\usr\me\pcvt
  3055.           Drive a: 3435423 bytes free
  3056.           Enter Name of the PC File to Transmit
  3057.           [d:][path][filename[.ext]][={a,X,c,t}]
  3058.           (Press ENTER to cancel upload and return to emulator)
  3059.           b:\mydire\pc.asc=a
  3060.                   "Now the PC file named b:\mydire\pc.asc is transmitted,
  3061.                   you will see the file displayed on the screen as it is
  3062.                   echoed back from the host. The path name is accepted only
  3063.                   if you are running PC-DOS 2.0 or later."
  3064.           Should a CTRL-Z be transmitted? (y or n) : y
  3065.                   "A CTRL-Z is sent to the host."
  3066.           Transmission complete
  3067.           ^Z
  3068.                   "The host file named up.fil is closed. The host COPY
  3069.                   command is terminated."
  3070.           $
  3071.  
  3072.  
  3073.           8.0.1.3 A Useful VAX .COM Upload file
  3074.  
  3075.             This simplified  upload  facility  will upload a file from a PC
  3076.           disk file to a VAX system running VMS.
  3077.  
  3078.             Create a file on the VAX system named  "pcup.com" consisting of
  3079.           the following commands:
  3080.  
  3081.           $ on error then goto err1
  3082.           $ on control_y then goto CTRL
  3083.           $ if p1.eqs."" then -
  3084.             inquire p1 "Enter Name of VAX File to Contain Uploaded Data    "
  3085.           $ if p1 .eqs. "" then goto CTRL
  3086.           $ set term/nobroad
  3087.           $ write sys$output "<ESC>[?22h"
  3088.           $ copy tt:  'p1'
  3089.           $ exit:
  3090.           $ set term/broad
  3091.           $ exit
  3092.           $ err1:
  3093.           $ write sys$output "A VAX error has occurred. Please try again."
  3094.           $ CTRL:
  3095.           $ write sys$output "Upload Canceled."
  3096.  
  3097.  
  3098.  
  3099.           Page 44       Copyright 1984,1985 Mark C. DiVecchio
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.           PC-VT v8.3                       Transmitting and Receiving Files
  3107.  
  3108.  
  3109.  
  3110.           $ goto exit
  3111.  
  3112.           The symbol <ESC> is the ESCAPE character 27. You will have to use
  3113.           your host's text editor to replace the <ESC> with the real ESCAPE
  3114.           character.
  3115.  
  3116.             Once you have started PC-VT on  the PC and you have logged onto
  3117.           a VAX, upload files from the PC to the VAX by:
  3118.  
  3119.             1.  type this in response to the "$" VMS prompt:
  3120.  
  3121.                 @pcup <filename>
  3122.  
  3123.             2.  If you did not enter the filename  on the command line, the
  3124.                 facility will ask you for the name of  the  VAX  file which
  3125.                 you  wish   to  create  with  the  uploaded  data  (include
  3126.                 directory information if needed)
  3127.  
  3128.                 for example :dra1:[user1.dire.lev2]z.com
  3129.  
  3130.                 If you just press ENTER, the upload is canceled.
  3131.  
  3132.             3.  the facility will ask you for the name of the PC file which
  3133.                 you wish to upload (include disk drive letter if needed)
  3134.  
  3135.                 for example : zzzzz.com=a
  3136.  
  3137.                 If you just press ENTER, the upload is canceled.
  3138.  
  3139.             4.  the rest is automatic.  The  data  will display on the PC's
  3140.                 screen as  it  is  echoed.  The upload is complete when the
  3141.                 "$" VMS prompt appears.
  3142.  
  3143.             5.  To abort the upload before it is complete, press:
  3144.  
  3145.                 CTRL-F4
  3146.  
  3147.                 The VAX file will contain whatever data was uploaded to the
  3148.                 point where you aborted the upload.  You may see some extra
  3149.                 characters  displayed  on  the  screen,  this  is just  the
  3150.                 communications buffer emptying.
  3151.  
  3152.             The ESC [ ?  22 h  sequence is a special PC-VT private sequence
  3153.           described in Appendix F.
  3154.  
  3155.  
  3156.           8.0.2 Transmitting Binary Files (Uploading)
  3157.  
  3158.             PC-VT supports the XMODEM protocol for  binary  or  ASCII  file
  3159.           transfer.  Support is  included  for both checksum error checking
  3160.           compatible with PC-TALKIII  and  for Cyclic Redundancy Code (CRC)
  3161.           error  checking.   This transfer method requires  that  the  host
  3162.  
  3163.  
  3164.  
  3165.                         Copyright 1984,1985 Mark C. DiVecchio       Page 45
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.           Transmitting and Receiving Files                       PC-VT v8.3
  3173.  
  3174.  
  3175.  
  3176.           computer be capable of handling this protocol.
  3177.  
  3178.             To run XMODEM, start up the host XMODEM program and then follow
  3179.           the instructions for transmitting  ASCII  files  but include "=x"
  3180.           after the  filename("=c" is equivalent for transmit).  The XMODEM
  3181.           module is automatically started and the transfer proceeds without
  3182.           further intervention.   The transfer is started in checksum mode,
  3183.           the receiver has the option of switching to CRC mode.
  3184.  
  3185.             PC-VT will automatically change  the  communications  to 8 data
  3186.           bits, no parity, 1 stop bit (8-N-1) if you are not already set at
  3187.           that protocol.  PC-VT will then restore the protocol  to your set
  3188.           value when the XMODEM transfer is complete.
  3189.  
  3190.             To cancel the transfer while  it  is  progress,  press  CTRL-X.
  3191.           This may require a few seconds to  take effect because PC-VT must
  3192.           gracefully terminate the protocol.
  3193.  
  3194.             Refer to already published texts  for  details  on  the  XMODEM
  3195.           protocol.
  3196.  
  3197.  
  3198.           8.0.3 Receiving ASCII Files (Downloading)
  3199.  
  3200.             To receive an ASCII file, PC-VT must be told to start receiving
  3201.           and then the host  must  be  told  to  transmit  it.  To activate
  3202.           Receive File, press CTRL-F3.  This can be done at any time in the
  3203.           communications frame.  PC-VT will ask for the filename  on  which
  3204.           to write the received characters.  Just pressing ENTER terminates
  3205.           the receive request.  If the file already exists,  PC-VT will ask
  3206.           if you wish to overwrite it.   If you type "y" followed by ENTER,
  3207.           PC-VT deletes the old file and starts to create another.
  3208.  
  3209.             You can now tell  the  host  to  type out a file and PC-VT will
  3210.           write it onto the  IBM  PC  disk.  At the VMS dollar sign prompt,
  3211.           enter this command:
  3212.  
  3213.                           TYPE <filename>
  3214.  
  3215.             Once Receive File (or downloading) is  activated,  and  a  Line
  3216.           Feed character  is received, ALL further characters received from
  3217.           the host except 00H  and  7FH  are  written  onto  the disk file.
  3218.           PC-VT  does  not  write  out  data  to disk until a Line Feed  is
  3219.           received in order to permit you to enter  the  VMS  TYPE command.
  3220.           This prevents the TYPE command from being written to the file.
  3221.  
  3222.             When you wish to terminate Receive File, simply  press  CTRL-F3
  3223.           again.  PC-VT closes the disk file and resumes normal operation.
  3224.  
  3225.             Note that since PC-VT cannot tell the difference between a file
  3226.           and any other characters sent by the host, all characters (except
  3227.           - 00H and  7FH)  received  go  onto the disk file.  This includes
  3228.  
  3229.  
  3230.  
  3231.           Page 46       Copyright 1984,1985 Mark C. DiVecchio
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.           PC-VT v8.3                       Transmitting and Receiving Files
  3239.  
  3240.  
  3241.  
  3242.           ESCAPE sequences  and all VMS command language interaction.  This
  3243.           can be a useful feature if you are programming with some of these
  3244.           sequences  and  your  program  is not working  correctly.   PC-VT
  3245.           preserves these characters on disk for your inspection.  Once the
  3246.           file is closed, you will have to exit from PC-VT and enter a text
  3247.           editor to strip off any unwanted characters from the file.
  3248.  
  3249.             PC-VT puts an End of File indicator at the end of the disk file
  3250.           before it closes the file.  For the  IBM  PC  this  is  a  CTRL-Z
  3251.           character, ASCII  code  26.  As a reminder, "RCV" is displayed on
  3252.           the Status  Line  while Receive File is active.  The receipt of a
  3253.           CTRL-Z  character  will  terminate  Receive  File  and close  the
  3254.           received file. If you press CTRL-BREAK to  terminate  PC-VT,  the
  3255.           received file  is  closed  as if a CTRL-Z character was received.
  3256.           If you have selected UNIX mode in the SETUP  frame,  the  end  of
  3257.           file indicator is a CTRL-D.
  3258.  
  3259.             Receive File terminates if it runs out of  disk  space  for the
  3260.           downloaded file.  The last block (up to 512 characters)  received
  3261.           is lost and no  CTRL-Z  -  End of File indicator is written.  The
  3262.           file, however, is closed.
  3263.  
  3264.             There are several messages generated by PC-VT while receiving a
  3265.           file:
  3266.  
  3267.           "Current default directory is >":
  3268.                           The current default directory is displayed.   For
  3269.                           DOS 1.1 users, this is just the default drive.
  3270.  
  3271.           "Drive d: xxxxxx bytes free":
  3272.                           The number of free bytes on the default drive  is
  3273.                           displayed.   This  is displayed only if  you  are
  3274.                           using DOS 2.0 or later.
  3275.  
  3276.  
  3277.           "Enter Name of the PC File to Receive
  3278.           [d:][path][filename[.ext]][={a,X,c}]
  3279.           (Press ENTER to cancel download and return to emulator):":
  3280.  
  3281.                           PC-VT is  asking  for  the name of the PC file to
  3282.                           receive.   Type  the  filename  in  the  standard
  3283.                           PC-DOS format and  press  ENTER.   Pressing  just
  3284.                           ENTER cancels the receiving routine.  If your DOS
  3285.                           supports path names,  they  can be used here.  If
  3286.                           you do not specify a drive or  path,  PC-VT  will
  3287.                           access   the  default  directory.   The   default
  3288.                           directory  can  be  changed  with   the   CTRL-F2
  3289.                           command.  See the  last  section  in this chapter
  3290.                           for details.  If you do  not  specify  a  option,
  3291.                           PC-VT will assume XMODEM protocol.
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.                         Copyright 1984,1985 Mark C. DiVecchio       Page 47
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.           Transmitting and Receiving Files                       PC-VT v8.3
  3305.  
  3306.  
  3307.  
  3308.           "Filename is not in correct format":
  3309.                           The filename entered in  response to the filename
  3310.                           inquiry  is  not in the standard  PC-DOS  format.
  3311.                           You may re-enter the filename.
  3312.  
  3313.           "Insert   diskette   with   received  file.    Press   ENTER   to
  3314.                           continue....":
  3315.                           PC-VT found  a  different  diskette  in  the disk
  3316.                           drive than the one  it  opened  the download file
  3317.                           on.   Replace the original diskette in the  drive
  3318.                           and press the ENTER key.
  3319.  
  3320.           "File already exists.  Do you want to overwrite it?  (y or n)":
  3321.                           The filename which you  entered  already  exists.
  3322.                           If you respond with a lower  or  upper  case  "Y"
  3323.                           followed by  the ENTER key, PC-VT will delete the
  3324.                           file and create a new one  with  the  same  name.
  3325.                           Any  other  response,  preserves  the  file   and
  3326.                           receive file is canceled.
  3327.  
  3328.           "File is being overwritten":
  3329.                           PC-VT confirms that the old file has been deleted
  3330.                           and a new file is being created.
  3331.  
  3332.           "Not enough directory space.  Receive terminated":
  3333.                           PC-VT  could  not  create the  file  because  the
  3334.                           directory on the specified diskette was full ,the
  3335.                           file was marked read-only,  or the path specified
  3336.                           is invalid.
  3337.  
  3338.           "Disk full.  Receive terminated":
  3339.                           PC-VT ran out of space on  the  disk.   The  file
  3340.                           already  written  is  closed.  A  CTRL-Z  is  not
  3341.                           placed at the end of the file.   The  last  block
  3342.                           (up to 512 characters) received is lost.
  3343.  
  3344.  
  3345.           8.0.3.1 Example of a receive session
  3346.  
  3347.             This is typical of what you would see and  type  to  receive  a
  3348.           file from the host.  Comments are quoted.
  3349.  
  3350.           $        "press the CTRL-F3 key"
  3351.           Current default directory is
  3352.           >a:
  3353.           Drive a: 32234  bytes free
  3354.           Enter Name of the PC File to Receive
  3355.           [d:][path][filename[.ext]][={a,X,c}]
  3356.           (Press ENTER to cancel download and return to emulator)
  3357.           b:receive.txt=a
  3358.                   "RCV is displayed on the Status Line and any characters
  3359.                   sent by the host are copied to the PC disk file."
  3360.  
  3361.  
  3362.  
  3363.           Page 48       Copyright 1984,1985 Mark C. DiVecchio
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.           PC-VT v8.3                       Transmitting and Receiving Files
  3371.  
  3372.  
  3373.  
  3374.           type host.dat
  3375.                   "The host file named host.dat is received by PC-VT
  3376.                   and placed on the PC disk file named b:receive.txt."
  3377.           $       "press the CTRL-F3 key"
  3378.                   "The file is closed and RCV is cleared from the Status
  3379.                   Line."
  3380.  
  3381.  
  3382.           8.0.3.2 A Useful VAX .COM Download file
  3383.  
  3384.             This simplified Download facility will download a file  from  a
  3385.           VAX system running VMS to a PC disk file.   Create  a file on the
  3386.           VAX  system  named  "pcdown.com"   consisting  of  the  following
  3387.           commands:
  3388.  
  3389.           $ on error then goto err2
  3390.           $ on control_y then goto CTRL
  3391.           $ if p1.eqs."" then -
  3392.             inquire p1 "Enter Name of VAX File to Download    "
  3393.           $ if p1 .eqs. "" then goto CTRL
  3394.           $ open for008 'p1'/error=err1
  3395.           $ close for008
  3396.           $ set term/nobroad
  3397.           $ write sys$output "<ESC>[?21h"
  3398.           $ copy 'p1' tt:
  3399.           $ write sys$output "^Z"
  3400.           $ exit:
  3401.           $ set term/broad
  3402.           $ exit
  3403.           $ err1:
  3404.           $ write sys$output "VAX File Not Found."
  3405.           $ CTRL:
  3406.           $ write sys$output "Download Canceled."
  3407.           $ goto exit
  3408.           $ err2:
  3409.           $ write sys$output "A VAX error has occurred, Please try again."
  3410.           $ goto CTRL
  3411.  
  3412.             The symbol  <ESC>  is the ESCAPE character 27. The symbol ^Z is
  3413.           the CTRL-Z character 26. You will have to  use  your  host's text
  3414.           editor to  replace  the  <ESC> with the real ESCAPE character and
  3415.           the ^Z with a real Control Z character.
  3416.  
  3417.             Once you have started PC-VT on  the PC and you have logged onto
  3418.           a VAX, download files from the VAX to the PC by:
  3419.  
  3420.             1.  type this in response to the "$" VMS prompt:
  3421.  
  3422.                                 @pcdown <filename>
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429.                         Copyright 1984,1985 Mark C. DiVecchio       Page 49
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.           Transmitting and Receiving Files                       PC-VT v8.3
  3437.  
  3438.  
  3439.  
  3440.             2.  If you did not enter the filename  on the command line, the
  3441.                 facility will ask you for the name of  the  VAX  file which
  3442.                 you wish  to  download  (include  directory  information if
  3443.                 needed)
  3444.  
  3445.                 for example : [upload]xmit.com
  3446.  
  3447.                 If you just press ENTER, the download is canceled.
  3448.  
  3449.             3.  the facility will ask you for the name of the PC file which
  3450.                 you wish to create with the downloaded data  (include  disk
  3451.                 drive letter if needed)
  3452.  
  3453.                 for example : a:pcfile.dat=a
  3454.  
  3455.                 If you just press ENTER, the download is  canceled.  If the
  3456.                 name which you give for  the  PC file already exists, PC-VT
  3457.                 ask if you want to overwrite the  file.  If you answer "y",
  3458.                 all the new data will replace  the old data on the PC file.
  3459.                 If you answer "n" or just  press  ENTER,  the  download  is
  3460.                 canceled.
  3461.  
  3462.             4.  the rest is automatic.  The  data  will display on the PC's
  3463.                 screen  while  it  is  being downloaded.  The  download  is
  3464.                 complete when the "$" VMS prompt appears.
  3465.  
  3466.             5.  To abort the download before it is complete, press:
  3467.  
  3468.                                 CTRL-F3
  3469.  
  3470.                 The PC file will contain whatever data  was  downloaded  to
  3471.                 the point where you aborted the download.  You may see some
  3472.                 extra output on the screen, this is just the communications
  3473.                 buffer emptying.
  3474.  
  3475.             The ESC [ ?  21 h  sequence is a special PC-VT private sequence
  3476.           described in Appendix F.
  3477.  
  3478.  
  3479.           8.0.4 Receiving Binary Files (Downloading)
  3480.  
  3481.             PC-VT supports the XMODEM protocol for  binary  or  ASCII  file
  3482.           transfer.  Support is  included  for both checksum error checking
  3483.           compatible with PC-TALKIII  and  for  Cyclic Redundancy Code(CRC)
  3484.           error  checking.   This transfer method requires  that  the  host
  3485.           computer be capable of handling this protocol.
  3486.  
  3487.             To run XMODEM, start up the host XMODEM program and then follow
  3488.           the instructions for receiving ASCII files but include "=x" after
  3489.           the filename for checksum mode or "=c"  for CRC mode.  The XMODEM
  3490.           module is automatically started and the transfer proceeds without
  3491.           further intervention.  Since PC-VT is the receiver, you have  the
  3492.  
  3493.  
  3494.  
  3495.           Page 50       Copyright 1984,1985 Mark C. DiVecchio
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.           PC-VT v8.3                       Transmitting and Receiving Files
  3503.  
  3504.  
  3505.  
  3506.           option of selecting the error checking mode.  Checksum mode  will
  3507.           detect all burst errors of less than 8 bits in length  and  99.6%
  3508.           of all burst errors longer than 8 bits.  CRC mode will detect all
  3509.           single and double bit errors, all errors with  an  odd  number of
  3510.           bits, all burst errors of length 16 or less and 99.997% of all 17
  3511.           bit  and  longer  bursts.   The  CRC  supported  is   the   CCITT
  3512.           recommended x^16 + x^12 + x^5 + 1.
  3513.  
  3514.             PC-VT will automatically change  the  communications  to 8 data
  3515.           bits, no parity, 1 stop bit (8-N-1) if you are not already set at
  3516.           that protocol.  PC-VT will then restore the protocol  to your set
  3517.           value when the XMODEM transfer is complete.
  3518.  
  3519.             To cancel the transfer while  it  is  progress,  press  CTRL-X.
  3520.           This may require a few seconds to  take effect because PC-VT must
  3521.           gracefully terminate the protocol.  PC-VT  does  not  delete  the
  3522.           partial file already created on disk but  closes it and leaves it
  3523.           for you to examine and delete.
  3524.  
  3525.             Refer to already published texts  for  details  on  the  XMODEM
  3526.           protocol.
  3527.  
  3528.  
  3529.  
  3530.  
  3531.           8.1 Kermit File Transfer
  3532.  
  3533.  
  3534.             PC-VT supports a  subset  of  Kermit  v1.20.   To  access  this
  3535.           feature  press  ALT-K from the communications  frame.   Refer  to
  3536.           published texts on Kermit for details of  the  transfer  protocol
  3537.           and command structure.  PC-VT  follows  the  commands and command
  3538.           structure exactly.  These are  the  commands  which are supported
  3539.           (you need not capitalize these commands):
  3540.  
  3541.           bye             When talking  to  a  remote  Kermit  Server, this
  3542.                           command shuts down the  server  and  logs it out.
  3543.                           It then exits from Kermit-86 to PC-VT.
  3544.  
  3545.           exit            To return back  to  PC-VT.  Use this command most
  3546.                           of the time to return to PC-VT.
  3547.  
  3548.           finish          When talking  to  a  remote  Kermit  Server, this
  3549.                           command shuts down the  server  but  does not log
  3550.                           you out on the remote host.
  3551.  
  3552.           help            To get a list of Kermit commands.
  3553.  
  3554.           logout          When talking  to  a  remote  Kermit  Server, this
  3555.                           command shuts down the  server  and  logs it out.
  3556.                           This command is similar to BYE, but leaves you at
  3557.                           the Kermit-86 command level.
  3558.  
  3559.  
  3560.  
  3561.                         Copyright 1984,1985 Mark C. DiVecchio       Page 51
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.           Transmitting and Receiving Files                       PC-VT v8.3
  3569.  
  3570.  
  3571.  
  3572.           receive         To accept a file from the remote system.
  3573.  
  3574.           send            To send  a  file  or group of files to the remote
  3575.                           system.
  3576.  
  3577.           set             To  establish  system-dependent parameters.   The
  3578.                           'set' options are as follows:
  3579.  
  3580.                           Bell        To  ring  bell   after  transfer  has
  3581.                                       completed  or has failed (default  is
  3582.                                       ON).
  3583.  
  3584.                           debug       To set debug mode  ON or OFF (default
  3585.                                       is OFF).
  3586.  
  3587.                           end-of-line
  3588.                                       To change the character used  at  the
  3589.                                       end  of  packets to  something  other
  3590.                                       than the  default of CR. It must be a
  3591.                                       digit between 0 and 31.
  3592.  
  3593.                           file-warning
  3594.                                       ON/OFF,  default  is   OFF.   If  ON,
  3595.                                       Kermit will warn you  and  rename  an
  3596.                                       incoming file so as not to write over
  3597.                                       a file that currently exists with the
  3598.                                       same name.
  3599.  
  3600.           status          To  see  the  values  of parameters that  can  be
  3601.                           modified via the 'set' command.
  3602.  
  3603.  
  3604.  
  3605.  
  3606.           8.2 Changing the Default Directory
  3607.  
  3608.  
  3609.             For users of PC-DOS version  2.0  or later, PC-VT supports path
  3610.           names.  PC-VT will access the  default  drive and path unless you
  3611.           explicitly enter them.  You can  change  the  default  values  by
  3612.           pressing  CTRL-F2  from  the communications  frame.   PC-VT  will
  3613.           display the  current  default,  ask for the new default, and then
  3614.           display the complete new default path.  The input to this command
  3615.           follows the  syntax  for the CHDIR command to DOS.  The amount of
  3616.           free space on the default drive is also displayed.
  3617.  
  3618.             Here is what you would see and type:
  3619.  
  3620.           Current default directory is
  3621.           >c:\level1
  3622.           Drive c: 34543  bytes free
  3623.           Enter new default directory
  3624.  
  3625.  
  3626.  
  3627.           Page 52       Copyright 1984,1985 Mark C. DiVecchio
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.           PC-VT v8.3                       Transmitting and Receiving Files
  3635.  
  3636.  
  3637.  
  3638.           [[d:][\][dirname][\dirname[...]]]
  3639.           >level2                         ;here you type the change
  3640.           Default directory is now
  3641.           >c:\level1\level2
  3642.           Drive c: 34543  bytes free
  3643.  
  3644.             When you type in the new directory, you  can  enter  the change
  3645.           just as you would enter a change to the CHDIR command:
  3646.  
  3647.             -  a drive letter followed by a ":"  will change the drive only
  3648.                - b: (since DOS remembers the path associated with each disk
  3649.                drive, the default directory will be set  to  whatever  path
  3650.                had been active on the specified drive)
  3651.  
  3652.             -  a path name starting at the root - a:\mydir\nextdir
  3653.  
  3654.             -  the root - a:\
  3655.  
  3656.             -  a directory name starting at the current directory - nextdir
  3657.  
  3658.  
  3659.  
  3660.  
  3661.           Error Message
  3662.  
  3663.  
  3664.           "Invalid directory entered - not changed":
  3665.                           You entered an invalid  disk or directory.  PC-VT
  3666.                           did not change the default setting.
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683.  
  3684.  
  3685.  
  3686.  
  3687.  
  3688.  
  3689.  
  3690.  
  3691.  
  3692.  
  3693.                         Copyright 1984,1985 Mark C. DiVecchio       Page 53
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.           DIALING Frame                                          PC-VT v8.3
  3701.  
  3702.  
  3703.  
  3704.  
  3705.  
  3706.  
  3707.  
  3708.  
  3709.  
  3710.                                       Chapter 9
  3711.  
  3712.                                     DIALING Frame
  3713.  
  3714.  
  3715.  
  3716.             The DIALING frame is accessed  by  pressing  CTRL-F9  from  the
  3717.           communications frame.  The content of the communications frame is
  3718.           preserved and is restored when you exit the DIALING frame.
  3719.  
  3720.  
  3721.  
  3722.  
  3723.           9.1 Instructions for DIALING
  3724.  
  3725.  
  3726.             The DIALING frame is used  to  handle Hayes or Hayes compatible
  3727.           modems.  The frame can hold 10  host  names  and  phone  numbers.
  3728.           Each entry is broken into two fields.  A name  can  be  typed  in
  3729.           columns 1  to  20. This is for your information only.  PC-VT does
  3730.           not use this information but it  is stored on the disk file.  The
  3731.           dialing commands and phone number can be  stored in columns 21 to
  3732.           70. The "!"  above column 21 is to remind you that, when dialing,
  3733.           PC-VT  sends  the data in columns 21 thru 70 to the modem as  the
  3734.           dialing command.
  3735.  
  3736.             Each time that you save the DIALING frame using the F4 key (see
  3737.           below), PC-VT saves the complete SETUP information for  the  host
  3738.           which is pointed to by the cursor.  Then when you later dial that
  3739.           host using the F1 key,  PC-VT  restores  the  SETUP  information.
  3740.           This permits you to save unique SETUP information for each of the
  3741.           10 hosts.  Be certain though, that when you  press  F4,  that the
  3742.           cursor is on the line of the host in which you are interested.
  3743.  
  3744.             When PC-VT  starts  up, it looks for a Dialing Directory on the
  3745.           default  drive  or  the  drive  and  directory pointed to by  the
  3746.           environment string 'PC-VT='.  If it  does  not  find  one,  PC-VT
  3747.           creates a  blank  directory.   The  name  field  is  filled  with
  3748.           dashes.  The command field contains  "ATDT"  in  the  first  four
  3749.           columns and is then filled with spaces.   The  SETUP  information
  3750.           associated with each host is set to the default values.
  3751.  
  3752.             The  first  thing that you need to do is enter the name of  the
  3753.           number's owner.  You can use the cursor  keys, the Enter key, the
  3754.           Tab key, the Home key and the End key  to  position the cursor to
  3755.           any  line.   The  "Ins"  key  will insert a space at  the  cursor
  3756.  
  3757.  
  3758.  
  3759.           Page 54       Copyright 1984,1985 Mark C. DiVecchio
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.           PC-VT v8.3                                          DIALING Frame
  3767.  
  3768.  
  3769.  
  3770.           position and the "Del" key will delete  a character at the cursor
  3771.           position.  Move the cursor to column  1 and type in the name.  It
  3772.           should not go  past  column  20.  Then to enter the phone number,
  3773.           move  the  cursor to column 24 using the TAB key and type in  the
  3774.           number.  The  new  directory can be saved by pressing the F4 key.
  3775.           The number can be dialed by pressing the F1 key.
  3776.  
  3777.             Pressing any key while the  dialer  is running will cause PC-VT
  3778.           to stop dialing and return to the communications frame.
  3779.  
  3780.             Here is how each of cursor control keys function in this frame:
  3781.  
  3782.             -  Left arrow - moves the cursor one column  to  the  left.  If
  3783.                the cursor is already in column 1, PC-VT beeps and no action
  3784.                is taken.   Use  this key for a backspace then enter a space
  3785.                to clear any character that may have been mistyped.
  3786.  
  3787.             -  Right arrow - moves the cursor one  column to the right.  If
  3788.                the cursor is  already  in  column  70,  PC-VT  beeps and no
  3789.                action is taken.
  3790.  
  3791.             -  Up arrow - moves  the  cursor  up one row.  If the cursor is
  3792.                already in the top row of the  directory, PC-VT beeps and no
  3793.                action is taken.
  3794.  
  3795.             -  Down arrow  -  moves the cursor down one row.  If the cursor
  3796.                is already in the bottom  row  of the directory, PC-VT beeps
  3797.                and no action is taken.
  3798.  
  3799.             -  Home  -  moves the cursor to column 1 of the top row of  the
  3800.                directory.
  3801.  
  3802.             -  End - moves the cursor  to column 1 of the bottom row of the
  3803.                directory.
  3804.  
  3805.             -  Enter - moves the cursor  to column 1 of the next row of the
  3806.                directory.  If  the  cursor  is already in the bottom row of
  3807.                the directory,  the  cursor is moved to column 1 of that row
  3808.                and PC-VT beeps.
  3809.  
  3810.             -  Tab - moves the cursor to column 24 of the current row.
  3811.  
  3812.             -  Ins - inserts a space at  the  cursor  position.   This  key
  3813.                operates within either the name field (columns 1 thru 20) or
  3814.                the number field (columns 21 thru 70). All  characters  from
  3815.                the cursor to right of the field are moved one column to the
  3816.                right.  Anything in the rightmost column  of  the  field  is
  3817.                lost.  If  you  press  Ins within the name field, the number
  3818.                field is not affected.
  3819.  
  3820.             -  Del - deletes a character at the cursor  position.  This key
  3821.                operates within either the name field (columns 1 thru 20) or
  3822.  
  3823.  
  3824.  
  3825.                         Copyright 1984,1985 Mark C. DiVecchio       Page 55
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.           DIALING Frame                                          PC-VT v8.3
  3833.  
  3834.  
  3835.  
  3836.                the number field (columns 21 thru 70). All  characters  from
  3837.                the right of the cursor to the rightmost column of the field
  3838.                are moved one column to the left.   A space is inserted into
  3839.                the rightmost column of the field.  If you  press Del within
  3840.                the name field, the number field is not affected.
  3841.  
  3842.             In addition, as a simple Macro style logon facility, PC-VT does
  3843.           a little more work.   If  you  enter the tilde key (the ~), PC-VT
  3844.           will translate that into a  carriage  return (ASCII 13) when sent
  3845.           to the modem.   This  permits  you  to send multiple lines to the
  3846.           modem.  Also, PC-VT will interpret the  CTRL-W key as a wait of 5
  3847.           seconds and the CTRL-B  as  a  wait of 1 second.  The CTRL-W will
  3848.           appear in  the  directory  as an underlined up-down arrow and the
  3849.           CTRL-B will appear as  a  Happy  Face.   A  CTRL-X  will stop the
  3850.           dialing at that point in the line.  PC-VT  will  then,  as usual,
  3851.           send  its  final carriage return to the modem.  The  CTRL-X  will
  3852.           appear in the directory as an up-arrow.   Only  your  imagination
  3853.           will  limit  you as to how you can use this.  You can have  PC-VT
  3854.           dial your host,  wait  10  seconds,  enter  your  userid, wait 10
  3855.           seconds, and then enter your password.
  3856.  
  3857.             Special notes on the directory: You have complete control  over
  3858.           the entire directory from columns 1  to 70. You can type over the
  3859.           "ATDT" command and you can  type  any special modem commands like
  3860.           "," or ";".  You can enter any  key (including the Backspace key)
  3861.           except the control keys listed above  into  the  line.   You  can
  3862.           change the "ATDT" to any  other  modem command.  For example, you
  3863.           can change the last line to  "ATM2;" and when you move the cursor
  3864.           to that line and press F1, the modem will be commanded to turn on
  3865.           the speaker at all times.  Just remember that PC-VT will send any
  3866.           character in columns 21 to  70 to the modem when you press the F1
  3867.           key.  PC-VT always sends a  carriage  return right after it sends
  3868.           the last  character  in the number field.  For users of the PCjr,
  3869.           you can enter the CTRL-N command required by its internal modem.
  3870.  
  3871.             In the  examples  below,  the  CTRL-W  is shown as a ?  and the
  3872.           CTRL-X is shown  as  a  ^  since most line printers printing this
  3873.           document can't print control characters.
  3874.  
  3875.                   Here are some possible entries:
  3876.  
  3877.                               !
  3878.           Mark C DiVecchio----ATDT,,555-1212
  3879.           The computer--------ATDT 1 - 506 - 555 - 1234,,,,,222* 432#
  3880.           Speaker on----------ATM2;
  3881.           Full Logon----------ATDT,555-1212~?????~?userid~password^
  3882.  
  3883.             In that last example,  the  modem  is summoned, it is to wait 2
  3884.           seconds for  the  dial tone (a Hayes modem command), it dials the
  3885.           number, waits 25 seconds  for  the  connection,  sends  a  single
  3886.           carriage return which wakes up the host, waits  5 seconds, enters
  3887.           the userid and then enters the password.  Note  the final CTRL-X.
  3888.  
  3889.  
  3890.  
  3891.           Page 56       Copyright 1984,1985 Mark C. DiVecchio
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.           PC-VT v8.3                                          DIALING Frame
  3899.  
  3900.  
  3901.  
  3902.           This is needed to tell PC-VT not to send the spaces  between  the
  3903.           password and column 70 to the host since they may be seen as part
  3904.           of the password.
  3905.  
  3906.             One other thing is done by this facility in order to get around
  3907.           the buffer size within the modem.  Spaces and dashes in the phone
  3908.           number are not  sent  to  the  modem.   With  several modems, the
  3909.           buffers could overflow if all  50  characters in the phone number
  3910.           field  were  sent.    PC-VT   resumes  sending  spaces  after  it
  3911.           encounters the first  tilde.   This  means  that  spaces  can  be
  3912.           included as part of the logon sequence.
  3913.  
  3914.             Here are the functions available in DIALING :
  3915.  
  3916.           Exit DIALING :  The  ESC  key returns PC-VT to the communications
  3917.                           frame.
  3918.  
  3919.           Dial :          The "F1" key dials the number in the line pointed
  3920.                           to  by  the  cursor.  Before  the  dialing  takes
  3921.                           place, PC-VT restores the  SETUP  information  to
  3922.                           the state it was  when  you  initially saved this
  3923.                           host phone number.  This  permits  you  to save a
  3924.                           specific  set  of SETUP features with  each  host
  3925.                           phone  number.   PC-VT  then   returns   to   the
  3926.                           communications frame.
  3927.  
  3928.           Read Directory :
  3929.                           The  "F3"  key  clears  the   displayed   dialing
  3930.                           directory and  reloads  it  from  the  disk file,
  3931.                           DIALER.DAT, on the default drive.  PC-VT  remains
  3932.                           in the  DIALING  frame.   The  SETUP  information
  3933.                           which  was  saved  with   the  selected  host  is
  3934.                           restored.
  3935.  
  3936.           Store Directory :
  3937.                           The  "F4"  key  stores  the   displayed   dialing
  3938.                           directory into  a disk file on the PC-DOS default
  3939.                           drive or the drive pointed  to  by  the  "PC-VT="
  3940.                           string in  the environment.  The name of the file
  3941.                           is DIALER.DAT.  In  addition  to  the  directory,
  3942.                           with each entry, PC-VT the SETUP information in a
  3943.                           special spot  in  the  dialing  directory.   This
  3944.                           means that when you later dial this number, PC-VT
  3945.                           will reload all of  the  SETUP  options like baud
  3946.                           rate and feature selections associated with  this
  3947.                           host.   Be  certain though, that you  select  the
  3948.                           host with  the cursor.  This selected host is the
  3949.                           one  which  will be associated with  the  current
  3950.                           SETUP information.  A message  will appear at the
  3951.                           bottom  of  the frame to indicate  that  the  new
  3952.                           directory is written to disk.
  3953.  
  3954.  
  3955.  
  3956.  
  3957.                         Copyright 1984,1985 Mark C. DiVecchio       Page 57
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.           DIALING Frame                                          PC-VT v8.3
  3965.  
  3966.  
  3967.  
  3968.           Hang up :       The  "F5" key sends the command to the  modem  to
  3969.                           hang up the  phone.   This  procedure takes about
  3970.                           2-3 seconds due to the modem protocol.  A message
  3971.                           will  appear  at  the  bottom of the  display  to
  3972.                           indicate that the line  is  hung  up.  PC-VT uses
  3973.                           the Hayes commands "+++"  and  "ATH0"  to do this
  3974.                           function.  This function can also be performed by
  3975.                           pressing ALT-Z in the communications frame.
  3976.  
  3977.             The current host is shown on the SETUP B  frame.   This  is  to
  3978.           remind you when you are  updating  the  SETUP  information  which
  3979.           host's information you are modifying.
  3980.  
  3981.  
  3982.  
  3983.  
  3984.           9.2 Details on How to Save SETUP Information
  3985.  
  3986.  
  3987.             As mentioned above, PC-VT will  save  a complete picture of the
  3988.           SETUP  information  with  each  of  the  10 hosts in the  dialing
  3989.           directory.
  3990.  
  3991.             Each  time  that the F4 key is pressed in  the  DIALING  frame,
  3992.           PC-VT saves not only the 10  entry  dialing  directory  but  also
  3993.           saves the current SETUP information and associates  it  with  the
  3994.           host pointed to by the cursor.
  3995.  
  3996.             So to update the SETUP information for a particular host follow
  3997.           these steps:
  3998.  
  3999.             1.  from the communication frame press  CTRL-F9  to  enter  the
  4000.                 DIALING frame
  4001.  
  4002.             2.  use the up and  down  arrow  keys to move the cursor to the
  4003.                 line of the host (the cursor can be anywhere on the line)
  4004.  
  4005.             3.  press the F3 key which  will  load  any  SETUP  information
  4006.                 previously associated with that host into PC-VT
  4007.  
  4008.             4.  press the Esc key to return to the communications frame
  4009.  
  4010.             5.  press the CTRL-F1 key to enter the SETUP frame
  4011.  
  4012.             6.  proceed to modify  the  SETUP information as appropriate to
  4013.                 the host
  4014.  
  4015.             7.  press the Esc key to return to the communications frame
  4016.  
  4017.             8.  <at this point, you may call  the host and be sure that the
  4018.                 SETUP information set is correct>
  4019.  
  4020.  
  4021.  
  4022.  
  4023.           Page 58       Copyright 1984,1985 Mark C. DiVecchio
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.           PC-VT v8.3                                          DIALING Frame
  4031.  
  4032.  
  4033.  
  4034.             9.  press the CTRL-F9 key to enter the DIALING frame
  4035.  
  4036.             10. make sure that  the  cursor  is pointing to the line of the
  4037.                 host
  4038.  
  4039.             11.  press  the F4  key  to  save  the  SETUP  information  and
  4040.                 associate it with this host
  4041.  
  4042.             Now each time that you dial this host using the F1  key,  PC-VT
  4043.           will reload the SETUP information before it starts to dial.
  4044.  
  4045.  
  4046.  
  4047.  
  4048.           9.3 The DIALER.DAT File
  4049.  
  4050.  
  4051.             PC-VT maintains a Dialing Directory file on disk.  This file is
  4052.           used  to  record  user  defined  phone  numbers  or  other  Modem
  4053.           commands.
  4054.  
  4055.             The file consists of 10 hosts.  With  each host there is stored
  4056.           the   host   name,  the  phone  numbers,   and   complete   SETUP
  4057.           information.
  4058.  
  4059.             The host names and phone numbers are read  each  time  that you
  4060.           start up PC-VT so your  dialing  directory is restored each time.
  4061.           The SETUP information is read  only  if you specifically dial the
  4062.           host using the F1 key from the DIALING frame.
  4063.  
  4064.  
  4065.  
  4066.  
  4067.           9.4 Creation
  4068.  
  4069.  
  4070.             The file is automatically created as an empty  directory if the
  4071.           file does not exist on the default drive when PC-VT starts.
  4072.  
  4073.  
  4074.  
  4075.  
  4076.           9.5 Location
  4077.  
  4078.  
  4079.             The  file  name  is  DIALER.DAT.   The  file is created in  the
  4080.           directory pointed to by the 'PC-VT=' string in  the  environment.
  4081.           If there is no  such  string  in the environment or you are using
  4082.           DOS 1.0 or 1.1, the file  is created on the PC-DOS default drive.
  4083.           Chapter 3 on starting PC-VT describes how to use this string.
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.                         Copyright 1984,1985 Mark C. DiVecchio       Page 59
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.           DIALING Frame                                          PC-VT v8.3
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.           9.6 Updating
  4105.  
  4106.  
  4107.             The file is rewritten upon  request  while in the DIALING frame
  4108.           by pressing F4.
  4109.  
  4110.  
  4111.  
  4112.  
  4113.           9.7 Error Messages
  4114.  
  4115.  
  4116.             There  are   several   messages   generated   by   PC-VT  while
  4117.           manipulating this file.
  4118.  
  4119.           "New Dialing Directory Created":
  4120.                           PC-VT could not  find  DIALER.DAT  on the default
  4121.                           disk drive so it created  a  blank  file.   PC-VT
  4122.                           continues.
  4123.  
  4124.           "Disk Directory Full":
  4125.                           PC-VT could not find  space  in  the directory of
  4126.                           the default disk drive  when  it  tried to create
  4127.                           the DIALER.DAT file.  PC-VT terminates.
  4128.  
  4129.           "Disk Full While Writing Dialing Dir":
  4130.                           PC-VT ran out of space on the default disk  drive
  4131.                           while   creating  the  DIALER.DAT  file.    PC-VT
  4132.                           terminates.
  4133.  
  4134.           "Disk Swap Error - See User Manual":
  4135.                           PC-VT  found a different diskette in the  default
  4136.                           drive from the time that the disk directory entry
  4137.                           was created and the  file DIALER.DAT was written.
  4138.                           Since the time  between  these two events is very
  4139.                           small, this  error  message  indicates  a  severe
  4140.                           hardware or  system  failure.   PC-VT terminates.
  4141.                           This error should never  happen  if  PC-VT is run
  4142.                           from a fixed disk.
  4143.  
  4144.           "Error While Opening Dialing Directory":
  4145.                           PC-VT failed to successfully open the  DIALER.DAT
  4146.                           file  on  the default disk.  This  usually  means
  4147.                           that the disk directory  has been damaged.  PC-VT
  4148.                           terminates.
  4149.  
  4150.           "Dialing Directory Access Error":
  4151.                           An error occured  while  reading  the  DIALER.DAT
  4152.  
  4153.  
  4154.  
  4155.           Page 60       Copyright 1984,1985 Mark C. DiVecchio
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.           PC-VT v8.3                                          DIALING Frame
  4163.  
  4164.  
  4165.  
  4166.                           file  from the default disk.  Usually means  that
  4167.                           the  file  has   been  accidentally  overwritten.
  4168.                           PC-VT terminates.
  4169.  
  4170.           "Can't find DIALER.DAT.  F1 to cancel, space to try again.":
  4171.                           This usually  means  that  the  default  diskette
  4172.                           drive is empty or the door is open.  Correct  the
  4173.                           situation and  hit  the  space  key  to continue.
  4174.                           Press F1 to terminate PC-VT.
  4175.  
  4176.           "DIALER.DAT could not be written.":
  4177.                           This  usually  means  that   the  disk  is  write
  4178.                           protected  or  you  specified  an  illegal  drive
  4179.                           letter in the "PC-VT" environment string.
  4180.  
  4181.  
  4182.  
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.                         Copyright 1984,1985 Mark C. DiVecchio       Page 61
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.           PC-VT Status Line                                      PC-VT v8.3
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.                                       Chapter 10
  4239.  
  4240.                                   PC-VT Status Line
  4241.  
  4242.  
  4243.  
  4244.             PC-VT uses line 25 of  the monitor as a Status Line when in the
  4245.           communications  frame.   The  VT10x  only requires 24  lines  for
  4246.           proper operation.  The meaning of each of the fields displayed is
  4247.           summarized in this chapter.
  4248.  
  4249.           ON LINE         PC-VT is actively  monitoring  the COMx port.  It
  4250.                           is on line to a host only if you have established
  4251.                           the connection.
  4252.  
  4253.           LOCAL           PC-VT is performing some  local function and data
  4254.                           received on  the COMx port will not be displayed.
  4255.                           The data will not be lost but  will  be  buffered
  4256.                           and then  displayed when PC-VT returns to ON LINE
  4257.                           mode.  Note that on the  PCjr  this  may  not  be
  4258.                           true.  If the PCjr is doing a diskette operation,
  4259.                           all other  interrupts are masked off.  If data is
  4260.                           received on the COMx line, it will be lost.
  4261.  
  4262.           Vx.x            The version number of PC-VT.  Please include this
  4263.                           number if you write to the author.
  4264.  
  4265.           KBD LOCKED      The host computer  has  locked the keyboard.  The
  4266.                           host  is  also  responsible  for  unlocking   the
  4267.                           keyboard.
  4268.  
  4269.           CAP             The  Caps  Lock  key  has been depressed  on  the
  4270.                           keyboard.
  4271.  
  4272.           NUM             The  Num  Lock  key  has  been  depressed on  the
  4273.                           keyboard.
  4274.  
  4275.           SCR             The Scroll Lock key has  been  depressed  on  the
  4276.                           keyboard.  This key  functions  as  the NO SCROLL
  4277.                           key on the VT10x.
  4278.  
  4279.           "alpha"         The Greek letter "alpha" is displayed to indicate
  4280.                           that PC-VT is in  VT100 Applications Keypad mode.
  4281.                           This permits the PC's function and keypad keys to
  4282.                           transmit special codes.  See  chapter 5. The host
  4283.                           controls entrance and exit to this mode.
  4284.  
  4285.  
  4286.  
  4287.           Page 62       Copyright 1984,1985 Mark C. DiVecchio
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.           PC-VT v8.3                                      PC-VT Status Line
  4295.  
  4296.  
  4297.  
  4298.           X               The  letter 'X' indicates that the host's  buffer
  4299.                           has filled up and that the host will  not  accept
  4300.                           any more  characters from the PC. This will clear
  4301.                           automatically   when   the  host's   buffer   has
  4302.                           emptied.  Press ALT-X  to  clear this flag in the
  4303.                           cases where some noise on the communications line
  4304.                           happened to set it.
  4305.  
  4306.           P               The  letter  'P' indicates that printer  echo  is
  4307.                           turned  on  and all characters displayed  on  the
  4308.                           screen  are  printed   on   the   line   printer.
  4309.                           Characters displayed on the Status Line are never
  4310.                           printed.  Printer echo can  be  turned  on by the
  4311.                           host  via  an  Escape  sequence  or  by  pressing
  4312.                           CTRL-F6 on the PC's keyboard.
  4313.  
  4314.           HH:MM:SS        The time of day is displayed.  This can be turned
  4315.                           off by resetting the CLOCK bit  in  the  SETUP  B
  4316.                           frame.
  4317.  
  4318.           DSR             This indicates that the modem has raised its Data
  4319.                           Set Ready line.  This  indicator  as  well as the
  4320.                           next two modem  status  indicators  can be turned
  4321.                           off by resetting the CLOCK bit  in  the  SETUP  B
  4322.                           frame.  Most  smart modems keep this line high at
  4323.                           all times to indicate that the modem is ready  to
  4324.                           receive  commands.   Note  that  PC-VT  does  not
  4325.                           really  care.   It   displays   this   only   for
  4326.                           information.
  4327.  
  4328.           CTS             This indicates  that  the  modem  has  raised its
  4329.                           Clear To Send  line.   Some  modems maintain this
  4330.                           line  high  at  all  times.  There is  usually  a
  4331.                           switch on the modem which will cause this line to
  4332.                           function normally.   Note  that  PC-VT  does  not
  4333.                           really  care.   It   displays   this   only   for
  4334.                           information.
  4335.  
  4336.           CD              This indicates  that  the  modem  has  raised its
  4337.                           Carrier Detect line.  Some modems  maintain  this
  4338.                           line  high  at  all  times.  There is  usually  a
  4339.                           switch on the modem which will cause this line to
  4340.                           function normally.   Note  that  PC-VT  does  not
  4341.                           really  care.   It   displays   this   only   for
  4342.                           information.
  4343.  
  4344.           L1L2L3L4        These represent the LED's on the VT10x.  All four
  4345.                           are  used  on the VT100, only L1 is used  on  the
  4346.                           VT102, and none are used on the VT52.
  4347.  
  4348.  
  4349.  
  4350.  
  4351.  
  4352.  
  4353.                         Copyright 1984,1985 Mark C. DiVecchio       Page 63
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.           Macro Frame                                            PC-VT v8.3
  4361.  
  4362.  
  4363.  
  4364.  
  4365.  
  4366.  
  4367.  
  4368.  
  4369.  
  4370.                                       Chapter 11
  4371.  
  4372.                                      Macro Frame
  4373.  
  4374.  
  4375.  
  4376.             The Macro frame is  accessed  by  pressing  CTRL-F10  from  the
  4377.           communications frame.  The Macro frame  is  used  to  update  the
  4378.           currently defined  Macro keys.  The content of the communications
  4379.           frame is preserved and is restored when you exit Macro.  Actually
  4380.           sending a Macro is done by pressing ALT-F1  thru ALT-F10 directly
  4381.           from the communications frame.  Only these 10 keys are  supported
  4382.           by the Macro processor.
  4383.  
  4384.  
  4385.  
  4386.  
  4387.           11.1 Instructions for Macro
  4388.  
  4389.  
  4390.             The Macro frame is used to create, update  and  save  Macro key
  4391.           definitions.  The frame can hold 10 Macro keys.  The 10 definable
  4392.           keys, ALT-F1 through  ALT-F10,  are  listed  on  the  left of the
  4393.           screen.  The  Macro  commands are stored in columns 21 to 70. The
  4394.           "!"   above  column 21 is to remind you that,  when  expanding  a
  4395.           macro, PC-VT sends the data in columns 21 thru 70 to the modem as
  4396.           the Macro command.
  4397.  
  4398.             When PC-VT starts  up,  it  looks  for a Macro Directory on the
  4399.           default  drive  or  the  drive  and  directory pointed to by  the
  4400.           environment string 'PC-VT='.  If it  does  not  find  one,  PC-VT
  4401.           creates a blank directory.
  4402.  
  4403.             You can use the  cursor  keys,  the Enter key, the Home key and
  4404.           the End key to  position  the  cursor to any line.  The "Ins" key
  4405.           will insert a space at the cursor position and the "Del" key will
  4406.           delete a  character  at  the cursor position.  Move the cursor to
  4407.           the first column of the key which you want to define.  Then enter
  4408.           the definition.  The new directory  can  be saved by pressing the
  4409.           F4 key.  The macro can  be sent by pressing the F1 key.  Once you
  4410.           are back in the communications frame, you can send the macro just
  4411.           by pressing  the  ALT-Fx key.  There is no need to press CTRL-F10
  4412.           first.
  4413.  
  4414.             Pressing any key while the  Macro  is  being  transmitted  will
  4415.           cause  PC-VT  to  stop  the   expansion   and   return   to   the
  4416.  
  4417.  
  4418.  
  4419.           Page 64       Copyright 1984,1985 Mark C. DiVecchio
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.           PC-VT v8.3                                            Macro Frame
  4427.  
  4428.  
  4429.  
  4430.           communications frame.
  4431.  
  4432.             Here is how each of cursor control keys function in this frame:
  4433.  
  4434.             -  Left arrow - moves the cursor one column  to  the  left.  If
  4435.                the cursor is already in column 21, the speaker beeps and no
  4436.                action is taken.  Use this key as a backspace then press the
  4437.                space bar to clear the character.
  4438.  
  4439.             -  Right arrow - moves the cursor one  column to the right.  If
  4440.                the cursor is already in column 70, the speaker beeps and no
  4441.                action is taken.
  4442.  
  4443.             -  Up arrow - moves  the  cursor  up one row.  If the cursor is
  4444.                already in the top row  of  the directory, the speaker beeps
  4445.                and no action is taken.
  4446.  
  4447.             -  Down arrow  -  moves the cursor down one row.  If the cursor
  4448.                is already in the bottom  row  of the directory, the speaker
  4449.                beeps and no action is taken.
  4450.  
  4451.             -  Home - moves the cursor to column 21 of  the  top row of the
  4452.                directory.
  4453.  
  4454.             -  End - moves the cursor to column 21 of the bottom row of the
  4455.                directory.
  4456.  
  4457.             -  Enter - moves the cursor to column 21 of the next row of the
  4458.                directory.  If  the  cursor  is already in the bottom row of
  4459.                the directory, the cursor is moved to  column 21 of that row
  4460.                and the speaker beeps.  If you want to  use  the  'Enter' as
  4461.                part of the Macro definition, use the tilde  key '~'.  PC-VT
  4462.                will replace the tilde with a carriage return when the macro
  4463.                is expanded.
  4464.  
  4465.             -  Ins  -  inserts  a  space  at  the  cursor  position.    All
  4466.                characters from the cursor to  right  of the field are moved
  4467.                one column to the right.  Anything in the  rightmost  column
  4468.                of the field is lost.
  4469.  
  4470.             -  Del - deletes a  character  at  the  cursor  position.   All
  4471.                characters from the right of the  cursor  to  the  rightmost
  4472.                column of the  field  are  moved  one column to the left.  A
  4473.                space is inserted into the rightmost column of the field.
  4474.  
  4475.             Special notes on the directory: You have complete control  over
  4476.           the entire  directory  from  columns 21 to 70. Just remember that
  4477.           PC-VT will send any character in columns 21 to  70  to  the  Host
  4478.           when you invoke the macro.  PC-VT does not send a carriage return
  4479.           after it sends the last character in the line.   If  you  want  a
  4480.           carriage return, enter the tilde character.  If you  don't put in
  4481.           a tilde, PC-VT sends whatever characters  you  have  defined  and
  4482.  
  4483.  
  4484.  
  4485.                         Copyright 1984,1985 Mark C. DiVecchio       Page 65
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.           Macro Frame                                            PC-VT v8.3
  4493.  
  4494.  
  4495.  
  4496.           then just goes back into keyboard input mode.   You  can  type in
  4497.           additional characters or manually press the enter key.
  4498.  
  4499.             In addition, PC-VT does  a  little  more  work.   As  mentioned
  4500.           above, if  you  enter the tilde key (the ~), PC-VT will translate
  4501.           that into a  carriage  return  (ASCII  13) when sent to the Host.
  4502.           This permits you  to  send  multiple  lines.   Also,  PC-VT  will
  4503.           interpret the CTRL-W key as a wait of 5 seconds and the CTRL-B as
  4504.           a wait of 1 second.  The CTRL-W will appear in the  directory  as
  4505.           an underlined up-down arrow and the CTRL-B will appear as a Happy
  4506.           Face.  A CTRL-X will stop the Macro expansion  at  that  point in
  4507.           the line.   PC-VT  will  then return to keyboard input mode.  The
  4508.           CTRL-X will  appear  in  the directory as an up-arrow.  Only your
  4509.           imagination will limit you as to how you can use this.   You  can
  4510.           have  PC-VT  enter a command, wait 10 seconds, enter  an  option,
  4511.           wait  6  seconds, end a job and log you off the host.  All  other
  4512.           control  characters  can  be  entered into the  macro  definition
  4513.           including backspace  and  CTRL-C.   They will be sent to the host
  4514.           when the macro is expanded.
  4515.  
  4516.             In the  examples  below,  the  CTRL-W  is shown as a ?  and the
  4517.           CTRL-X is shown  as  a  ^  since most line printers printing this
  4518.           document can't print control characters.
  4519.  
  4520.                   Here are some possible entries:
  4521.  
  4522.                               !
  4523.           ALT-F1--------------run myjob~^
  4524.           ALT-F2--------------mail~?1~???~~~~ex~^
  4525.           ALT-F3--------------ATDT5551212~^
  4526.  
  4527.             It is always wise to put a  CTRL-X  a the end of every macro so
  4528.           that PC-VT knows exactly where to stop sending.   PC-VT will send
  4529.           the spaces out to column 70 if you leave off the CTRL-X.  In most
  4530.           cases this probably won't matter but  when  trailing  spaces  are
  4531.           significant(like in a password), you will need the CTRL-X.
  4532.  
  4533.             You can also use the Macro  key definition to dial thru a smart
  4534.           modem.  Simply put the dialing command in as a Macro.  Then press
  4535.           the appropriate ALT-Fx key from the communications frame.
  4536.  
  4537.             Here are the functions available in Macro :
  4538.  
  4539.           Exit Macro :    The  ESC  key returns PC-VT to the communications
  4540.                           frame.
  4541.  
  4542.           Dial :          The "F1" key sends the macro in the  line pointed
  4543.                           to  by  the cursor.  PC-VT then  returns  to  the
  4544.                           communications frame.  To send the macro directly
  4545.                           from  the communications frame, you just need  to
  4546.                           press   ALT-Fx  right  from  the   communications
  4547.                           frame.   There  is  no  need  to  press  CTRL-F10
  4548.  
  4549.  
  4550.  
  4551.           Page 66       Copyright 1984,1985 Mark C. DiVecchio
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.           PC-VT v8.3                                            Macro Frame
  4559.  
  4560.  
  4561.  
  4562.                           first.
  4563.  
  4564.           Read Directory :
  4565.                           The "F3" key clears the displayed Macro directory
  4566.                           and reloads  it from the disk file, MACRO.DAT, on
  4567.                           the default drive.   PC-VT  remains  in the Macro
  4568.                           frame.
  4569.  
  4570.           Store Directory :
  4571.                           The "F4" key stores the displayed Macro directory
  4572.                           into a disk file on the PC-DOS default  drive  or
  4573.                           the drive and directory specified in the 'PC-VT='
  4574.                           string in  the environment.  The name of the file
  4575.                           is  MACRO.DAT.   A  message will  appear  at  the
  4576.                           bottom  of  the frame to indicate  that  the  new
  4577.                           directory is written to disk.
  4578.  
  4579.  
  4580.  
  4581.  
  4582.           11.2 The MACRO.DAT File
  4583.  
  4584.  
  4585.             PC-VT maintains a Macro Directory  file  on disk.  This file is
  4586.           used to record user defined  macro  key definitions.  The file is
  4587.           read each time that you start up PC-VT so your Macro directory is
  4588.           restored each time.
  4589.  
  4590.  
  4591.  
  4592.  
  4593.           11.3 Creation
  4594.  
  4595.  
  4596.             The file is automatically created as an empty  directory if the
  4597.           file does not exist on the default drive when PC-VT starts.
  4598.  
  4599.  
  4600.  
  4601.  
  4602.           11.4 Location
  4603.  
  4604.  
  4605.             The  file  name  is  MACRO.DAT.  The file  is  created  in  the
  4606.           directory pointed to by the 'PC-VT=' string in  the  environment.
  4607.           If there is no  such  string  in the environment or you are using
  4608.           DOS 1.0 or 1.1, the file  is created on the PC-DOS default drive.
  4609.           Chapter 3 on starting PC-VT describes how to use this string.
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.                         Copyright 1984,1985 Mark C. DiVecchio       Page 67
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.           Macro Frame                                            PC-VT v8.3
  4625.  
  4626.  
  4627.  
  4628.  
  4629.  
  4630.  
  4631.  
  4632.           11.5 Updating
  4633.  
  4634.  
  4635.             The file is rewritten upon request while  in the Macro frame by
  4636.           pressing F4.
  4637.  
  4638.  
  4639.  
  4640.  
  4641.           11.6 Error Messages
  4642.  
  4643.  
  4644.             There  are   several   messages   generated   by   PC-VT  while
  4645.           manipulating this file.
  4646.  
  4647.           "New Macro Key File Created":
  4648.                           PC-VT  could  not find MACRO.DAT on  the  default
  4649.                           disk drive  so  it  created  an  empty directory.
  4650.                           PC-VT continues.
  4651.  
  4652.           "Disk Directory Full":
  4653.                           PC-VT could not find  space  in  the directory of
  4654.                           the default disk drive  when  it  tried to create
  4655.                           the MACRO.DAT file.  PC-VT terminates.
  4656.  
  4657.           "Disk Full While Writing Macro Key File":
  4658.                           PC-VT ran out of space on the default disk  drive
  4659.                           while  creating   the   MACRO.DAT   file.   PC-VT
  4660.                           terminates.
  4661.  
  4662.           "Disk Swap Error - See User Manual":
  4663.                           PC-VT  found a different diskette in the  default
  4664.                           drive from the time that the disk directory entry
  4665.                           was  created and the file MACRO.DAT was  written.
  4666.                           Since the time  between  these two events is very
  4667.                           small, this  error  message  indicates  a  severe
  4668.                           hardware or  system  failure.   PC-VT terminates.
  4669.                           This error should never  happen  if  PC-VT is run
  4670.                           from a fixed disk.
  4671.  
  4672.           "Error While Opening Macro Key File":
  4673.                           PC-VT failed to successfully open  the  MACRO.DAT
  4674.                           file  on  the default disk.  This  usually  means
  4675.                           that the disk directory  has been damaged.  PC-VT
  4676.                           terminates.
  4677.  
  4678.           "Macro Key File Access Error":
  4679.                           An error occurred  while  reading  the  MACRO.DAT
  4680.  
  4681.  
  4682.  
  4683.           Page 68       Copyright 1984,1985 Mark C. DiVecchio
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.           PC-VT v8.3                                            Macro Frame
  4691.  
  4692.  
  4693.  
  4694.                           file  from the default disk.  Usually means  that
  4695.                           the  file  has   been  accidentally  overwritten.
  4696.                           PC-VT terminates.
  4697.  
  4698.           "Can't find MACRO.DAT.  F1 to cancel, space to try again.":
  4699.                           This usually  means  that  the  default  diskette
  4700.                           drive is empty or the door is open.  Correct  the
  4701.                           situation and  hit  the  space  key  to continue.
  4702.                           Press F1 to terminate PC-VT.
  4703.  
  4704.  
  4705.  
  4706.  
  4707.  
  4708.  
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723.  
  4724.  
  4725.  
  4726.  
  4727.  
  4728.  
  4729.  
  4730.  
  4731.  
  4732.  
  4733.  
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.                         Copyright 1984,1985 Mark C. DiVecchio       Page 69
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.           Error Messages                                         PC-VT v8.3
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.                                       Chapter 12
  4767.  
  4768.                                     Error Messages
  4769.  
  4770.  
  4771.  
  4772.             This chapter lists error messages which do not  appear in other
  4773.           chapters or which deserve a more detailed explaination.
  4774.  
  4775.             PC-VT  detects  all errors which occur while it is  running  in
  4776.           order to notify the user and terminate gracefully if necessary.
  4777.  
  4778.           "Sorry, not enough memory for HELP"|
  4779.                           PC-VT dynamically allocates memory for  the  HELP
  4780.                           data.   This  message  says  that  the  Operating
  4781.                           System could not allocate  PC-VT  the  additional
  4782.                           memory that it needed for the HELP frame.
  4783.  
  4784.           "Sorry, could not load the HELP file":
  4785.                           PC-VT could not find the  HELP.DAT  file  on  the
  4786.                           default  drive  or  the drive  specified  by  the
  4787.                           "PC-VT=" environment string.  If you are  running
  4788.                           a  diskette  system,  you  must  have  the  PC-VT
  4789.                           diskette with  the HELP.DAT file in the drive the
  4790.                           first time that you  press  ALT-H.   This is when
  4791.                           PC-VT reads  the  file  into  memory.   After the
  4792.                           first press of ALT-H, the file is kept in  memory
  4793.                           so that the copy on the  diskette  is  no  longer
  4794.                           needed.
  4795.  
  4796.           "Sorry, DOS 2.0 or later needed to access HELP":
  4797.                           PC-VT uses the features only supported by DOS 2.0
  4798.                           or later to access the HELP data.
  4799.  
  4800.           "The Command process could be loaded.  Error xx":
  4801.                           You just pressed  ALT-F  to start up another copy
  4802.                           of Command.COM and  PC-VT  could not locate it on
  4803.                           disk.  This usually means that if you are running
  4804.                           PC-VT  from  a  floppy diskette,  you  must  copy
  4805.                           Command.COM to that floppy diskette.  PC-VT  uses
  4806.                           the evironment string "COMSPEC="  to  locate  the
  4807.                           Command.COM   program.    This  string   is   set
  4808.                           automatically to the boot drive when you start up
  4809.                           PC-VT.  To check to see if it is  set  correctly,
  4810.                           type in the "SET" command  from  the  DOS  prompt
  4811.                           after you terminate PC-VT  by  pressing  CTRL-F8.
  4812.  
  4813.  
  4814.  
  4815.           Page 70       Copyright 1984,1985 Mark C. DiVecchio
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.           PC-VT v8.3                                         Error Messages
  4823.  
  4824.  
  4825.  
  4826.                           The error number is described in the DOS Software
  4827.                           Technical Reference Manual.   Some  of  the  more
  4828.                           common errors are:
  4829.  
  4830.                           02      Command.COM not found
  4831.                           03      Path in the "COMSPEC=" string not found
  4832.                           05      Access Denied
  4833.  
  4834.           "Disk not ready or Fixed Disk  error.  Abort or Retry (Press a or
  4835.                           r) ?":
  4836.                           PC-VT  just encountered a disk error.  The  error
  4837.                           most likely was caused by a door open on a floppy
  4838.                           diskette drive.  Correct  the  situation  and  to
  4839.                           have PC-VT retry  the  operation,  press 'r'.  To
  4840.                           have PC-VT  abort  the  disk  operation  and then
  4841.                           terminate, press 'a'.
  4842.  
  4843.           "Fatal FAT Error.  PC-VT Terminating.  Press any key.":
  4844.                           PC-VT just found a fatal error in the  disk  File
  4845.                           Allocation Table  (FAT).   PC-VT  cannot continue
  4846.                           and terminates as soon as you press any key.
  4847.  
  4848.           "Emulator Requires an 80 Column Display":
  4849.                           The VT100 is an 80 column device  so  PC-VT  must
  4850.                           have  an  80 column output device.   If  you  are
  4851.                           running on a PCjr, you may have to  use the "MODE
  4852.                           BW80" command  at the DOS prompt before you start
  4853.                           up PC-VT.
  4854.  
  4855.           "PC-VT Terminated...":
  4856.                           Indicates that PC-VT successfully terminated.  It
  4857.                           closed the communications buffer so that any data
  4858.                           received is lost.  If you want to get back to DOS
  4859.                           without closing the  communications buffer, press
  4860.                           ALT-F instead of CTRL-F8.
  4861.  
  4862.  
  4863.           "Found old versions of PARAMS.DAT and DIALER.DAT files."
  4864.           "Delete them and restart PC-VT"
  4865.  
  4866.                           Your diskette or fixed disk  has  copies  of  the
  4867.                           PARAMS.DAT and DIALER.DAT  files  from  an  older
  4868.                           version of PC-VT.   The  newer  versions of PC-VT
  4869.                           cannot  use these files.  Delete these two  files
  4870.                           and  then  restart  the  program.    PC-VT   will
  4871.                           automatically recreate the  files  in  their  new
  4872.                           format.
  4873.  
  4874.           "PC-VT is already in memory.  Type "exit" at the DOS prompt."
  4875.                           You have tried to start up two  copies  of  PC-VT
  4876.                           using the same communications port.  To return to
  4877.                           the copy  of PC-VT already in memory, type "exit"
  4878.  
  4879.  
  4880.  
  4881.                         Copyright 1984,1985 Mark C. DiVecchio       Page 71
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.           Error Messages                                         PC-VT v8.3
  4889.  
  4890.  
  4891.  
  4892.                           at the DOS prompt.
  4893.  
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.           Page 72       Copyright 1984,1985 Mark C. DiVecchio
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.           PC-VT v8.3                             List of Control Characters
  4955.  
  4956.  
  4957.  
  4958.  
  4959.  
  4960.  
  4961.  
  4962.  
  4963.  
  4964.                                       Appendix A
  4965.  
  4966.                               List of Control Characters
  4967.  
  4968.  
  4969.  
  4970.             These appendices  describe  the  internal  operation  of PC-VT.
  4971.           They show the various control  characters  and  Escape  sequences
  4972.           which PC-VT interprets as commands.  The character  "ESC"  is  an
  4973.           ASCII control character with  the  decimal  value  of  27.  These
  4974.           appendices can be skipped if your  only use of PC-VT is simply as
  4975.           a VT100/102 Video Terminal.
  4976.  
  4977.             ASCII codes from 0 to 31 and 127 are control characters.  PC-VT
  4978.           responds to these characters as listed in the following table.
  4979.  
  4980.                           Hex
  4981.           Name            Code    Function
  4982.  
  4983.           Null            0       This character is ignored. It can be
  4984.                                   used as a fill character. A fill
  4985.                                   character is sometimes used to take
  4986.                                   up space in a messages for timing
  4987.                                   reasons.
  4988.  
  4989.           End of Text     3       Not supported. PC-VT ignores this
  4990.                                   character.
  4991.  
  4992.           End of          4       This character can be selected as a
  4993.           Transmission            disconnect character by the SETUP B
  4994.                                   frame. If selected, its receipt will
  4995.                                   cause PC-VT to disconnect from the
  4996.                                   communications line by sending a Break.
  4997.  
  4998.           Enquire         5       Causes PC-VT to transmit its answerback
  4999.                                   message. The answerback back message is
  5000.                                   set in the SETUP B frame.
  5001.  
  5002.           Bell            7       Causes PC-VT to Beep the IBM PC speaker.
  5003.  
  5004.           Backspace       8       Causes PC-VT to move the cursor back one
  5005.                                   column and delete the character there.
  5006.                                   If the cursor is already in column 1,
  5007.                                   this character is ignored.
  5008.  
  5009.           Horizontal Tab  9       Causes PC-VT to move the cursor to the
  5010.  
  5011.  
  5012.  
  5013.                         Copyright 1984,1985 Mark C. DiVecchio       Page 73
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.           List of Control Characters                             PC-VT v8.3
  5021.  
  5022.  
  5023.  
  5024.                                   next tab stop. If there are no tab stops
  5025.                                   between the current cursor position and
  5026.                                   column 80, the cursor is moved to column
  5027.                                   80. The tabs stops can be set in
  5028.                                   the SETUP A frame.
  5029.  
  5030.           Line Feed       10      This causes the cursor to move down one
  5031.                                   line in the current column. If the
  5032.                                   cursor moves below the screen output
  5033.                                   area, the lines above the cursor move up
  5034.                                   one line, and a blank line is added to
  5035.                                   the bottom of the screen. The operation
  5036.                                   of this key is modified by the Line Feed/
  5037.                                   New Line feature selected in SETUP B.
  5038.  
  5039.           Vertical Tab    11      Handled as a line feed.
  5040.  
  5041.           Form Feed       12      Handled as a line feed except when being
  5042.                                   sent to a line printer via one of the
  5043.                                   print commands. It those cases, it is
  5044.                                   sent to the line printer as a Form
  5045.                                   Feed.
  5046.  
  5047.           Carriage Return 13      The cursor is moved back to the left
  5048.                                   margin. Cursor remains in the current
  5049.                                   line.
  5050.  
  5051.           Shift Out       14      Causes PC-VT to change its character set
  5052.                                   to the G0 character set. The G0 character
  5053.                                   set is selected by the Select Character
  5054.                                   Set Escape sequence.
  5055.  
  5056.           Shift In        15      Causes PC-VT to change its character set
  5057.                                   to the G1 character set. The G1 character
  5058.                                   set is selected by the Select Character
  5059.                                   Set Escape sequence.
  5060.  
  5061.           XON (Device     17      Causes PC-VT to continue or restart
  5062.           Control 1)              sending characters.
  5063.  
  5064.           XOFF (Device    19      Causes PC-VT to stop transmitting
  5065.           Control 3)              characters. It does not stop PC-VT
  5066.                                   from sending XON or XOFF.
  5067.  
  5068.           Cancel          24      Causes PC-VT to interrupt and cancel any
  5069.                                   in process Escape control sequence.
  5070.  
  5071.           Substitute      26      Handled as Cancel. Also used as an End
  5072.                                   of File indicator during ASCII file
  5073.                                   transfers.
  5074.  
  5075.           Escape          27      Indicates the start of a special Escape
  5076.  
  5077.  
  5078.  
  5079.           Page 74       Copyright 1984,1985 Mark C. DiVecchio
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.           PC-VT v8.3                             List of Control Characters
  5087.  
  5088.  
  5089.  
  5090.                                   control sequence.
  5091.  
  5092.           Delete          127     This character is ignored when received.
  5093.  
  5094.                   All other control characters are ignored.
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114.  
  5115.  
  5116.  
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134.  
  5135.  
  5136.  
  5137.  
  5138.  
  5139.  
  5140.  
  5141.  
  5142.  
  5143.  
  5144.  
  5145.                         Copyright 1984,1985 Mark C. DiVecchio       Page 75
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.           Received Escape Sequences                              PC-VT v8.3
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.                                       Appendix B
  5163.  
  5164.                               Received Escape Sequences
  5165.  
  5166.  
  5167.  
  5168.             PC-VT  constantly  monitors the communications line  for  these
  5169.           incoming  Escape  sequences.   When   they  are  received,  PC-VT
  5170.           performs the function as shown.  The  Escape  character  and  the
  5171.           characters which  follow  it and are part of the sequence are not
  5172.           displayed.   When  receiving (downloading) an ASCII  file,  PC-VT
  5173.           copies these characters to the  PC  disk file being created.  The
  5174.           Escape  character  is  shown  below as "ESC"  and  is  the  ASCII
  5175.           character with the value of 27.
  5176.  
  5177.           Keypad Character Selection
  5178.  
  5179.           ESC =           Select Alternate Keypad  Mode  - Set the keyboard
  5180.                           to transmit the Alternate Keypad set of character
  5181.                           codes.
  5182.  
  5183.           ESC >           Select  Numeric Keypad Mode - Set the keyboard to
  5184.                           transmit the  Numeric  Keypad  set  of  character
  5185.                           codes.
  5186.  
  5187.           Select Character Sets
  5188.  
  5189.           ESC ( A         Select U.K.  Character  Set  as G0 - The standard
  5190.                           IBM PC  character set is selected for ASCII codes
  5191.                           0 to 34 and 36 to 127.  ASCII code 35 is replaced
  5192.                           by  the  extended  character 156,  the  UK  Pound
  5193.                           sign.
  5194.  
  5195.           ESC ( B         Select U.S.  Character  Set  as G0 - The standard
  5196.                           IBM PC  character set is selected for ASCII codes
  5197.                           0 to 127.
  5198.  
  5199.           ESC ( 0         Select Special Characters and Line Drawing Set as
  5200.                           G0 - A special character and line drawing set  is
  5201.                           selected.  The set is identical  to  the  IBM  PC
  5202.                           character  set  for ASCII codes 0  to  95.  ASCII
  5203.                           codes 96 to 127 are shown below.
  5204.  
  5205.           ESC ) A         Select U.K. Character Set as G1- The standard IBM
  5206.                           PC character set is selected for ASCII codes 0 to
  5207.                           34 and  36  to  127. ASCII code 35 is replaced by
  5208.  
  5209.  
  5210.  
  5211.           Page 76       Copyright 1984,1985 Mark C. DiVecchio
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.           PC-VT v8.3                              Received Escape Sequences
  5219.  
  5220.  
  5221.  
  5222.                           the extended character 156, the UK Pound sign.
  5223.  
  5224.           ESC ) B         Select U.S.  Character  Set  as G1 - The standard
  5225.                           IBM PC  character set is selected for ASCII codes
  5226.                           0 to 127.
  5227.  
  5228.           ESC ) 0         Select Special Characters and Line Drawing Set as
  5229.                           G1 - A special character and line drawing set  is
  5230.                           selected.  The set is identical  to  the  IBM  PC
  5231.                           character  set  for ASCII codes 0  to  95.  ASCII
  5232.                           codes 96 to 127 are shown below.
  5233.  
  5234.  
  5235.           Special Character and Line Drawing Set
  5236.  
  5237.           ASCII Code      Character       IBM PC ASCII Code
  5238.  
  5239.           0 - 95  Same as the standard IBM PC character set.
  5240.           96      Diamond                           4
  5241.           97      Large Block                     219
  5242.           98      Horizontal Tab (right arrow)     26
  5243.           99      Form Feed (up triangle)          30
  5244.           100     Carriage Return (left arrow)     27
  5245.           101     Line Feed (up arrow)             24
  5246.           102     Degree Symbol                   248
  5247.           103     Plus/Minus Sign                 241
  5248.           104     New Line (down arrow)            25
  5249.           105     Vertical Tab (up/down arrow)     23
  5250.           106     Upper Right Corner              217
  5251.           107     Lower Right Corner              191
  5252.           108     Lower Left Corner               218
  5253.           109     Upper Left Corner               192
  5254.           110     Crossing Lines                  197
  5255.           111     Horizontal Line                 196
  5256.           112     Horizontal Line                 196
  5257.           113     Horizontal Line                 196
  5258.           114     Horizontal Line                 196
  5259.           115     Horizontal Line                 196
  5260.           116     Left T                          195
  5261.           117     Right T                         180
  5262.           118     Top T                           193
  5263.           119     Bottom T                        194
  5264.           120     Vertical Line                   179
  5265.           121     Less Than or Equal To           243
  5266.           122     Greater Than or Equal           242
  5267.           123     Pi Symbol                        20
  5268.           124     Not Equal Sign (squiggle)       247
  5269.           125     UK Pound Sign                   156
  5270.           126     Centered Dot                    250
  5271.           127     blank                            32
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.                         Copyright 1984,1985 Mark C. DiVecchio       Page 77
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.           Received Escape Sequences                              PC-VT v8.3
  5285.  
  5286.  
  5287.  
  5288.           Display Attributes
  5289.  
  5290.           ESC [ m         Select   Graphic   Rendition  -  Reset  Display
  5291.                           Attribute to Default per SETUP B display.
  5292.  
  5293.           ESC [ 0 m       Same as "ESC [ m".
  5294.  
  5295.           ESC [ 1 m       Select  Graphic  Rendition  -  Select  Display
  5296.                           Attribute to Bold.
  5297.  
  5298.           ESC [ 4 m       Select  Graphic  Rendition  -  Select  Display
  5299.                           Attribute to  Underline  (IBM  Monochrome Display
  5300.                           only).  For the color graphics  display  adapter,
  5301.                           PC-VT  displays  this  attribute  as   bold   and
  5302.                           blinking so that it is recognizable.
  5303.  
  5304.           ESC [ 5 m       Select  Graphic  Rendition  -  Select  Display
  5305.                           Attribute to Blink.
  5306.  
  5307.           ESC [ 7 m       Select  Graphic  Rendition  -  Select  Display
  5308.                           Attribute to Reverse Video.
  5309.  
  5310.                           Normal video  and reverse video cannot be used at
  5311.                           the  same  time.  The other three  modes  act  on
  5312.                           normal video and reverse  video and are additive.
  5313.                           That is, The sequence "ESC  [ 7 m ESC [ 5 m ESC [
  5314.                           1  m  "  will produce  blinking,  high  intensity
  5315.                           reverse video.  Then , "ESC [ m" will  reset  the
  5316.                           display to the default, usually white on black.
  5317.  
  5318.                           PC-VT supports multiple parameters for the Select
  5319.                           Graphic  Rendition  sequence.  For  example,  the
  5320.                           three sequences in the  previous paragraph can be
  5321.                           coded as "ESC [ 7 ; 5 ; 1 m".
  5322.  
  5323.           Scrolling Margin
  5324.  
  5325.           ESC [ Pt ; Pb r
  5326.                           Set  top  and  bottom  scrolling  margins  -  The
  5327.                           scrolling region is set  to include display lines
  5328.                           starting at Pt and  ending  at  Pb inclusive.  Pt
  5329.                           and Pb must  be  between  1  and  24.  Pb must be
  5330.                           greater than or equal to Pt. If Pt is omitted, it
  5331.                           defaults to 1. If Pb is omitted, it  defaults  to
  5332.                           24.
  5333.  
  5334.           Cursor Movement Commands
  5335.  
  5336.           ESC [ Pn A      Cursor Up - Move cursor up Pn lines.  If omitted,
  5337.                           Pn is assumed to be  1.  If the cursor is already
  5338.                           at  the  top  of  the  screen,  this sequence  is
  5339.                           ignored.  If Pn is greater  than  the  number  of
  5340.  
  5341.  
  5342.  
  5343.           Page 78       Copyright 1984,1985 Mark C. DiVecchio
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.           PC-VT v8.3                              Received Escape Sequences
  5351.  
  5352.  
  5353.  
  5354.                           lines to the top of the  screen,  the  cursor  is
  5355.                           moved to the top of the screen.
  5356.  
  5357.           ESC [ Pn B      Cursor  Down  -  Move  cursor  down Pn lines.  If
  5358.                           omitted, Pn is assumed to be 1. If  the cursor is
  5359.                           already  at  the  bottom   of  the  screen,  this
  5360.                           sequence is ignored.   If  Pn is greater than the
  5361.                           number of lines to the bottom of the screen,  the
  5362.                           cursor is moved to the bottom of the screen.
  5363.  
  5364.           ESC [ Pn C      Cursor Right - Move cursor right Pn  columns.  If
  5365.                           omitted, Pn is assumed to be 1. If  the cursor is
  5366.                           already at the  right  margin of the screen, this
  5367.                           sequence is ignored.   If  Pn is greater than the
  5368.                           number  of  columns to the right  margin  of  the
  5369.                           screen, the cursor  is  moved to the right margin
  5370.                           of the screen.
  5371.  
  5372.           ESC [ Pn D      Cursor  Left  - Move cursor left Pn columns.   If
  5373.                           omitted, Pn is assumed to be 1. If  the cursor is
  5374.                           already at the left  margin  of  the screen, this
  5375.                           sequence is ignored.   If  Pn is greater than the
  5376.                           number  of  columns  to  the left margin  of  the
  5377.                           screen, the cursor is moved to the left margin of
  5378.                           the screen.
  5379.  
  5380.           ESC [ Pl ; Pc H
  5381.                           Cursor  Position  - Move the cursor  to  absolute
  5382.                           line given by Pl and absolute column given by Pc.
  5383.                           Pl must be between 1 and 24. Pc must be between 1
  5384.                           and 80. If omitted, Pl  and  Pc are assumed to be
  5385.                           1.
  5386.  
  5387.           ESC [ Pl ; Pc f
  5388.                           Same as "ESC [ Pl ; Pc H".
  5389.  
  5390.           ESC H           Cursor  Position (Home) - Move the cursor to  the
  5391.                           top left of the screen.   Same  as  the  sequence
  5392.                           "ESC [ 1 ; 1 H" or "ESC [ 1 ; 1 f".
  5393.  
  5394.           ESC [ f         Same as "ESC H".
  5395.  
  5396.           ESC D           Index - The cursor is  moved  down one line.  The
  5397.                           cursor remains in  the  same column.  A scroll up
  5398.                           is performed if the cursor moves below line 24.
  5399.  
  5400.           ESC M           Reverse Index - The cursor is moved up  one line.
  5401.                           The cursor  remains in the same column.  A scroll
  5402.                           down is  performed if the cursor moves above line
  5403.                           1.
  5404.  
  5405.  
  5406.  
  5407.  
  5408.  
  5409.                         Copyright 1984,1985 Mark C. DiVecchio       Page 79
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.           Received Escape Sequences                              PC-VT v8.3
  5417.  
  5418.  
  5419.  
  5420.           ESC E           Next  Line - The cursor is  moved  to  the  first
  5421.                           column  of   the  next  line.   A  scroll  up  is
  5422.                           performed if the cursor moves below line 24.
  5423.  
  5424.           ESC 7           Save  cursor  -  The   current  cursor  position
  5425.                           (line,column),   display   character   attribute,
  5426.                           selected  character  set,  and  origin  mode  are
  5427.                           saved.
  5428.  
  5429.           ESC 8           Restore Cursor - The  cursor  position  and other
  5430.                           saved  attributes  are  restored  to  the  values
  5431.                           recorded by the last "ESC [ 7" sequence.  If  the
  5432.                           save cursor  Escape  sequence  was  not  received
  5433.                           since  PC-VT was started, no values are  restored
  5434.                           and the cursor is moved to the top left margin.
  5435.  
  5436.           Tab Stops
  5437.  
  5438.           ESC H           Horizontal Tab Set - A tab stop is set the column
  5439.                           position occupied by the cursor.
  5440.  
  5441.           ESC [ g         Tabulation Clear - The tab, if any, at the column
  5442.                           position occupied by the cursor is cleared.
  5443.  
  5444.           ESC [ 0 g       Same as "ESC [ g".
  5445.  
  5446.           ESC [ 3 g       Tabulation Clear - All tabs are cleared.
  5447.  
  5448.           Editing Functions
  5449.  
  5450.           ESC [ Pn @      Insert Character - Inserts Pn characters starting
  5451.                           at the  cursor  position.   Character(s)  to  the
  5452.                           right of the cursor  column  move  right.  Pn, if
  5453.                           omitted,  is assumed to be 1. Character(s)  moved
  5454.                           off of the right of the display are lost.
  5455.  
  5456.           ESC [ Pn P      Delete Character - Deletes Pn characters starting
  5457.                           at the cursor position.   Characters to the right
  5458.                           of the deleted  character(s)  move  left.  Pn, if
  5459.                           omitted, is  assumed to be 1. Spaces are inserted
  5460.                           at the right as needed.
  5461.  
  5462.           ESC [ Pn L      Insert  Line  - Inserts Pn lines before the  line
  5463.                           containing cursor.   The  current  line  and  all
  5464.                           lines below  it  move  down  the  display.  Lines
  5465.                           which move below the  bottom scrolling margin are
  5466.                           lost.  Pn, if omitted, is assumed to be 1.
  5467.  
  5468.           ESC [ Pn M      Delete  Line  - Deletes Pn lines starting at  the
  5469.                           line containing  the  cursor  and  below.   Lines
  5470.                           below the deleted lines move up.  New blank lines
  5471.                           are created to  fill  the bottom of the scrolling
  5472.  
  5473.  
  5474.  
  5475.           Page 80       Copyright 1984,1985 Mark C. DiVecchio
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.           PC-VT v8.3                              Received Escape Sequences
  5483.  
  5484.  
  5485.  
  5486.                           area.  If omitted, Pn is assumed to be 1.
  5487.  
  5488.           Erasing
  5489.  
  5490.           ESC [ K         Erase In  Line  - The line occupied by the cursor
  5491.                           is erased from the  cursor  to  the  end  of  the
  5492.                           line.
  5493.  
  5494.           ESC [ 0 K       Same as "ESC [ K".
  5495.  
  5496.           ESC [ 1 K       Erase  In  Line - The line occupied by the cursor
  5497.                           is erased from the beginning of the line  to  the
  5498.                           cursor.
  5499.  
  5500.           ESC [ 2 K       Erase  In  Line - The entire line containing  the
  5501.                           cursor is erased.
  5502.  
  5503.           ESC [ J         Erase In  Display  -  The screen from the current
  5504.                           cursor position to the bottom left of the display
  5505.                           is erased.
  5506.  
  5507.           ESC [ 0 J       Same as "ESC [ J".
  5508.  
  5509.           ESC [ 1 J       Erase In Display - The screen  from the top right
  5510.                           of the  display to the current cursor position is
  5511.                           erased.
  5512.  
  5513.           ESC [ 2 J       Erase In Display - The entire screen is erased.
  5514.  
  5515.           Print Commands
  5516.  
  5517.                           These commands are ignored if there is no printer
  5518.                           attached to the PC  or  if  the  printer  is  not
  5519.                           ready.  LPT1 or LPT2 is selected on the  SETUP  B
  5520.                           frame.  In the normal  VT100 definition, any Form
  5521.                           Feed  characters  are  translated  to  Line  Feed
  5522.                           characters before they are displayed.  PC-VT does
  5523.                           not  translate  Form Feeds which are  routed  the
  5524.                           printer.
  5525.  
  5526.           ESC [ ?  5 i    Media Copy - Turn on Auto  Print.  All characters
  5527.                           locally or echoed by the host are printed on  the
  5528.                           selected line printer,  if  present, as soon as a
  5529.                           carriage return is received.  The  character  'P'
  5530.                           is  displayed  in column 42 of  the  Status  Line
  5531.                           (line  25  )  of  the  display  to indicate  that
  5532.                           printer echo is turned on.
  5533.  
  5534.           ESC [ ?  4 i    Media Copy - Turns off Auto Print.
  5535.  
  5536.           ESC [ 5 i       Media  Copy  -  Turns on Print  Controller.   All
  5537.                           characters received from the host  are  displayed
  5538.  
  5539.  
  5540.  
  5541.                         Copyright 1984,1985 Mark C. DiVecchio       Page 81
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.           Received Escape Sequences                              PC-VT v8.3
  5549.  
  5550.  
  5551.  
  5552.                           on the selected line printer, if present, as soon
  5553.                           as  a  carriage return is received.   Nothing  is
  5554.                           displayed on the screen.
  5555.  
  5556.           ESC [ 4 i       Media  Copy -  Turns  off  Print  Controller.   A
  5557.                           carriage return and  line  feed should be sent to
  5558.                           the  selected  line printer  before  transmitting
  5559.                           this  sequence  to be sure that  the  printer  is
  5560.                           ready for the next  print  sequence  and that the
  5561.                           print carriage is at the left margin.
  5562.  
  5563.           ESC [ i         Media Copy  -  The screen as defined by the print
  5564.                           extent in the SETUP B  frame  is  copied  to  the
  5565.                           selected  line printer, if present.  A form  feed
  5566.                           is  sent  to  the  selected line printer  at  the
  5567.                           conclusion of the  printing  if  the  Termination
  5568.                           Character feature is set in the SETUP B frame.
  5569.  
  5570.           ESC [ ?  1 i    Media Copy - The  line  containing  the cursor is
  5571.                           printed  on  the  selected   line   printer,   if
  5572.                           present.
  5573.  
  5574.           Reports
  5575.  
  5576.           ESC [ 5 n       Device  Status  Report - The status of PC-VT  and
  5577.                           hardware is reported with this response:
  5578.  
  5579.                           "ESC [ 0 n " PC-VT is OK.
  5580.  
  5581.           ESC [ ?  15 n   Device Status Report - The status of the selected
  5582.                           line printer is reported with these responses:
  5583.  
  5584.                           "ESC [ ?  13 n " No printer on system
  5585.                           "ESC [ ?  10 n " Printer ready
  5586.                           "ESC [ ?  11 n " Printer not ready.
  5587.  
  5588.           ESC [ 6 n       Device Status Report - The position of the cursor
  5589.                           is reported with this response:
  5590.  
  5591.                           "ESC [ Pl ; Pc R"The cursor is  currently at line
  5592.                           Pl and column Pc.
  5593.  
  5594.           ESC [ c         Device  Attribute  Report - PC-VT reports that it
  5595.                           is  a  VT102 or VT100 Video  Terminal  compatible
  5596.                           device with the responses:
  5597.  
  5598.                           "ESC [ ?  6 c" I am a VT102
  5599.                           or
  5600.                           "ESC  [  ?   1  ;  0  c" I am a VT100, basic,  no
  5601.                           options.
  5602.  
  5603.  
  5604.  
  5605.  
  5606.  
  5607.           Page 82       Copyright 1984,1985 Mark C. DiVecchio
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.           PC-VT v8.3                              Received Escape Sequences
  5615.  
  5616.  
  5617.  
  5618.                           The  response  depends  upon  the  state  of  the
  5619.                           Terminal Type bit in the SETUP B frame.
  5620.  
  5621.           ESC [ 0 c       Same as "ESC [ c".
  5622.  
  5623.           ESC Z           Same as "ESC [ c".
  5624.  
  5625.           Reset
  5626.  
  5627.           ESC c           Reset to  Initial  State  - PC-VT is reset to its
  5628.                           initial state  by reading the USER MEMORY file on
  5629.                           the  default  drive.    The   program   is   then
  5630.                           restarted.
  5631.  
  5632.           Keyboard LEDs
  5633.  
  5634.           ESC [ q         Load  LED (LEDs off) - The emulated LEDs  on  the
  5635.                           Status Line 25 of the display is turned off.
  5636.  
  5637.           ESC [ 0 q       Same as "ESC [ q".
  5638.  
  5639.           ESC [ 1 q       Load LED (L1 on)  -  The  emulated  LED L1 on the
  5640.                           Status Line 25 of the display is turned on.
  5641.  
  5642.           ESC [ 2 q       Load LED (L2 on)  -  The  emulated  LED L2 on the
  5643.                           Status Line 25 of the display is turned on.
  5644.  
  5645.           ESC [ 3 q       Load LED (L3 on)  -  The  emulated  LED L3 on the
  5646.                           Status Line 25 of the display is turned on.
  5647.  
  5648.           ESC [ 4 q       Load LED (L4 on)  -  The  emulated  LED L4 on the
  5649.                           Status Line 25 of the display is turned on.
  5650.  
  5651.           VT52 Compatible Mode
  5652.  
  5653.           ESC <           Enter ANSI mode.
  5654.  
  5655.           ESC =           Enter alternate keypad mode.
  5656.  
  5657.           ESC >           Exit alternate  keypad  mode  to  numeric  keypad
  5658.                           mode.
  5659.  
  5660.           ESC F           Select special graphics character set.
  5661.  
  5662.           ESC G           Select US/UK character set.
  5663.  
  5664.           ESC A           Cursor up.
  5665.  
  5666.           ESC B           Cursor down.
  5667.  
  5668.           ESC C           Cursor right.
  5669.  
  5670.  
  5671.  
  5672.  
  5673.                         Copyright 1984,1985 Mark C. DiVecchio       Page 83
  5674.  
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.           Received Escape Sequences                              PC-VT v8.3
  5681.  
  5682.  
  5683.  
  5684.           ESC D           Cursor left.
  5685.  
  5686.           ESC H           Home cursor.
  5687.  
  5688.           ESC Y Pl Pc     Direct cursor address.
  5689.  
  5690.           ESC I           Reverse line feed.
  5691.  
  5692.           ESC K           Erase to end of line.
  5693.  
  5694.           ESC J           Erase to end of screen.
  5695.  
  5696.           ESC ^           Enter auto print mode.
  5697.  
  5698.           ESC _           Exit auto print mode.
  5699.  
  5700.           ESC W           Enter printer controller mode.
  5701.  
  5702.           ESC X           Exit printer controller mode.
  5703.  
  5704.           ESC ]           Print screen.
  5705.  
  5706.           ESC V           Print current line.
  5707.  
  5708.           ESC Z           Identify what  you are.  PC-VT responds with "ESC
  5709.                           / Z".
  5710.  
  5711.                           PC-VT  still  responds  to  DEC  private   escape
  5712.                           sequences while in VT52 compatibility mode.
  5713.  
  5714.           Set Mode
  5715.  
  5716.           ESC [ 2 h       Keyboard  Action   -   The  keyboard  is  locked.
  5717.                           Pressing  any  key  causes PC-VT  to  beep.   The
  5718.                           message "KBD LOCKED" is  displayed on Status Line
  5719.                           25 of the screen.
  5720.  
  5721.           ESC [ 4 h       Insert-replacement  -  Insert  mode is  selected.
  5722.                           Any  characters  received  cause  the  characters
  5723.                           currently on the screen  from the cursor position
  5724.                           to the right to be  moved  one  position  to  the
  5725.                           right.  The  newly  received  character  is  then
  5726.                           inserted in the vacated space.
  5727.  
  5728.           ESC [ 12 h      Send-Receive  Mode  - Sets host echo.  Characters
  5729.                           typed  at the keyboard are not locally  displayed
  5730.                           unless they are sent back by the host.
  5731.  
  5732.           ESC [ 20 h      Line  Feed  /  New Line - Sets PC-VT to  transmit
  5733.                           both a carriage return and  line  feed  when  the
  5734.                           ENTER key is pressed.  Causes received line feed,
  5735.                           form feed and vertical tab characters to move the
  5736.  
  5737.  
  5738.  
  5739.           Page 84       Copyright 1984,1985 Mark C. DiVecchio
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.           PC-VT v8.3                              Received Escape Sequences
  5747.  
  5748.  
  5749.  
  5750.                           cursor to the left column of the next line.
  5751.  
  5752.           ESC [ ?  1 h    Cursor Key  -  Set  the  Cursor  keys to generate
  5753.                           Application   Mode  functions.   Valid  only   in
  5754.                           Application Keypad mode.
  5755.  
  5756.           ESC [ ?  5 h    Screen  -  Sets the screen to reverse video mode.
  5757.                           The display attribute  is  set to black on white.
  5758.                           The entire  display is flipped to black on white.
  5759.                           All characters received after this  sequence  are
  5760.                           displayed in black on white.
  5761.  
  5762.           ESC [ ?  6 h    Origin  -  Set  the home position to the top left
  5763.                           margin of the scrolling  region  set  by the "Set
  5764.                           top and bottom margins" sequence "ESC [ Pt  ;  Pb
  5765.                           r" .
  5766.  
  5767.           ESC [ ?  7 h    Autowrap - Sets  autowrap  on.   When  the cursor
  5768.                           gets to the right margin and another character is
  5769.                           received,  a  carriage return and line  feed  are
  5770.                           sent to the display.
  5771.  
  5772.           ESC [ ?  8 h    Autorepeat - Sets  autorepeat  on.   This  is the
  5773.                           normal operation of the  IBM  PC  keyboard.  If a
  5774.                           key is held down,  it  starts  to repeatedly send
  5775.                           it's code to the running program. This is default
  5776.                           setting for PC-VT.
  5777.  
  5778.           ESC [ ?  18 h   Print Form Feed -  PC-VT sends a Form Feed to the
  5779.                           selected line  printer  at  the  conclusion  of a
  5780.                           print screen  operation.   This  is  the  default
  5781.                           setting.
  5782.  
  5783.           ESC [ ?  19 h   Print Extent - The full  screen is printed on the
  5784.                           selected  line  printer  by  the   print   screen
  5785.                           sequence.  This is the default setting.
  5786.  
  5787.           ESC [ ?  21 h   Receive File - Performs the same  function as the
  5788.                           CTRL-F3 key on the keyboard.  PC-VT private.  See
  5789.                           Appendix F.
  5790.  
  5791.           ESC [ ?  22 h   Transmit File - Performs the same function as the
  5792.                           CTRL-F4 key on the keyboard.  PC-VT private.  See
  5793.                           Appendix F.
  5794.  
  5795.           ESC [ ?  23 h   Special Sequence  -  This  escape sequence causes
  5796.                           PC-VT  to  send a carriage return  to  the  host.
  5797.                           This  was implemented as a debug feature.   PC-VT
  5798.                           private.  See Appendix F.
  5799.  
  5800.           ESC [ ?  24 h   Set Buffer Load -  The  buffer  load operation is
  5801.                           started.  PC-VT private.  See Appendix F.
  5802.  
  5803.  
  5804.  
  5805.                         Copyright 1984,1985 Mark C. DiVecchio       Page 85
  5806.  
  5807.  
  5808.  
  5809.  
  5810.  
  5811.  
  5812.           Received Escape Sequences                              PC-VT v8.3
  5813.  
  5814.  
  5815.  
  5816.           ESC [ ?  25 h   Change Directory - Performs the same function  as
  5817.                           the CTRL-F2 key on  the keyboard.  PC-VT private.
  5818.                           See Appendix F
  5819.  
  5820.           ESC [ ?  26 h   Terminate PC-VT  -  Performs the same function as
  5821.                           the CTRL-F8 key on  the keyboard.  PC-VT private.
  5822.                           See Appendix F.
  5823.  
  5824.           ESC [ ?  27 h   Start Up Command.com - Performs the same function
  5825.                           as   the  ALT-F  key  on  the  keyboard.    PC-VT
  5826.                           private.  See Appendix F.
  5827.  
  5828.           Reset Mode
  5829.  
  5830.           ESC [ 2 l       Keyboard  Action  -  The  keyboard  is  unlocked.
  5831.                           Pressing any  key causes the character to be sent
  5832.                           to the host.  The "KBD LOCKED" message is cleared
  5833.                           from the Status Line.
  5834.  
  5835.           ESC [ 4 l       Insert-replacement   -   Replacement  mode  is
  5836.                           selected.  Any characters  received overwrite any
  5837.                           characters on the screen  at the cursor location.
  5838.                           This is the default setting.
  5839.  
  5840.           ESC [ 12 l      Send-Receive  Mode - Sets local echo.  Characters
  5841.                           typed at the keyboard are locally displayed.
  5842.  
  5843.           ESC [ 20 l      Line  Feed  / New Line - Resets PC-VT to transmit
  5844.                           only  a  carriage return when the  ENTER  key  is
  5845.                           pressed.  Causes received line  feed,  form  feed
  5846.                           and vertical tab characters to move cursor to the
  5847.                           same  column  of  the  next  line.   This is  the
  5848.                           default setting.
  5849.  
  5850.           ESC [ ?  1 l    Cursor Key - Reset  the  Cursor  keys to generate
  5851.                           ANSI (Cursor Mode) control sequences.  Valid only
  5852.                           in Application Keypad mode.   This is the default
  5853.                           setting.
  5854.  
  5855.           ESC [ ?  5 l    Screen  -  Resets the screen to normal mode.  The
  5856.                           display  attribute is changed to white on  black.
  5857.                           The entire  display is flipped to white on black.
  5858.                           All characters received after this  sequence  are
  5859.                           displayed in white on black.  This is the default
  5860.                           setting.
  5861.  
  5862.           ESC [ ?  6 l    Origin - Reset the home  position to the top left
  5863.                           of the screen.  This is the default setting.
  5864.  
  5865.           ESC [ ?  7 l    Autowrap  -  Sets  autowrap off.  When the cursor
  5866.                           gets to the right margin and another character is
  5867.                           received, the cursor remains  at the right margin
  5868.  
  5869.  
  5870.  
  5871.           Page 86       Copyright 1984,1985 Mark C. DiVecchio
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877.  
  5878.           PC-VT v8.3                              Received Escape Sequences
  5879.  
  5880.  
  5881.  
  5882.                           and  characters  overlay  one  another  until   a
  5883.                           carriage return is received.   This  the  default
  5884.                           setting.
  5885.  
  5886.           ESC [ ?  8 l    Autorepeat - Sets autorepeat off. PC-VT can  only
  5887.                           simulate this function since repeat is handled in
  5888.                           the  keyboard  by the 8048. When  PC-VT  receives
  5889.                           this escape  sequence,  it  clears  the  keyboard
  5890.                           buffer of any characters.
  5891.  
  5892.           ESC [ ?  18 l   Print  Form  Feed - PC-VT performs a print screen
  5893.                           operation without a terminating form feed.
  5894.  
  5895.           ESC [ ?  19 l   Print  Extent  - Only the scrolling region of the
  5896.                           screen is printed on the selected line printer by
  5897.                           the print screen sequence.
  5898.  
  5899.           ESC [ ?  24 l   Reset Buffer Load - The buffer  load operation is
  5900.                           terminated.  PC-VT private.  See Appendix F.
  5901.  
  5902.  
  5903.  
  5904.  
  5905.  
  5906.  
  5907.  
  5908.  
  5909.  
  5910.  
  5911.  
  5912.  
  5913.  
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.  
  5935.  
  5936.  
  5937.                         Copyright 1984,1985 Mark C. DiVecchio       Page 87
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.           Escape Sequences Transmitted                           PC-VT v8.3
  5945.  
  5946.  
  5947.  
  5948.  
  5949.  
  5950.  
  5951.  
  5952.  
  5953.  
  5954.                                       Appendix C
  5955.  
  5956.                              Escape Sequences Transmitted
  5957.  
  5958.  
  5959.  
  5960.             Control  keys  which  do  not have a  defined  ASCII  code  are
  5961.           translated into Escape sequences  for  transmission  to the host.
  5962.           These keys are the cursor keys and the keypad keys.  Both sets of
  5963.           these keys can transmit different sequences.  The codes  sent  by
  5964.           the keypad keys are selected by the "Set Numeric Keypad" and "Set
  5965.           Application keypad" commands.  The codes for the cursor keys  are
  5966.           selected by the "Set Cursor" and "Reset  Cursor"  mode  commands.
  5967.           Note that setting numeric keypad mode, resets  the  cursor  mode.
  5968.           Set and reset cursor mode only  function  in  application  keypad
  5969.           mode.  This VT100/102 defined numeric keypad mode has nothing  to
  5970.           do with the PC NUM LOCK  key.  The NUM LOCK key functions locally
  5971.           in the PC only per the IBM documentation.
  5972.  
  5973.  
  5974.           VT100/102 Cursor Keys
  5975.  
  5976.           Key     Reset (Cursor) Mode     Set (Application) mode
  5977.  
  5978.           Up      ESC [ A                 ESC O A
  5979.           Down    ESC [ B                 ESC O B
  5980.           Right   ESC [ C                 ESC O C
  5981.           Left    ESC [ D                 ESC O D
  5982.  
  5983.  
  5984.           VT100/102 Emulated Keypad Keys
  5985.  
  5986.           IBM PC          Emulated        ANSI Numeric    ANSI Alternate
  5987.           Key             VT100/102 Key   Keypad Mode     Keypad Mode
  5988.  
  5989.           F10             0               0               ESC O p
  5990.           F7              1               1               ESC O q
  5991.           F8              2               2               ESC O r
  5992.           Shift F7        3               3               ESC O s
  5993.           F5              4               4               ESC O t
  5994.           F6              5               5               ESC O u
  5995.           Shift F5        6               6               ESC O v
  5996.           F3              7               7               ESC O w
  5997.           F4              8               8               ESC O x
  5998.           Shift F3        9               9               ESC O y
  5999.           Shift F4        -(minus)        -(minus)        ESC O m
  6000.  
  6001.  
  6002.  
  6003.           Page 88       Copyright 1984,1985 Mark C. DiVecchio
  6004.  
  6005.  
  6006.  
  6007.  
  6008.  
  6009.  
  6010.           PC-VT v8.3                           Escape Sequences Transmitted
  6011.  
  6012.  
  6013.  
  6014.           Shift F6        ,(comma)        ,(comma)        ESC O l
  6015.           Shift F9        .(period)       .(period)       ESC O n
  6016.           Shift F8        ENTER           ENTER           ESC O M
  6017.           F1              PF1             ESC O P         ESC O P
  6018.           F2              PF2             ESC O Q         ESC O Q
  6019.           Shift F1        PF3             ESC O R         ESC O R
  6020.           Shift F2        PF4             ESC O S         ESC O S
  6021.  
  6022.  
  6023.  
  6024.           VT52 Cursor Keys
  6025.  
  6026.           Key     Reset (Cursor) Mode     Set (Application) mode
  6027.  
  6028.           Up      ESC A                   ESC A
  6029.           Down    ESC B                   ESC B
  6030.           Right   ESC C                   ESC C
  6031.           Left    ESC D                   ESC D
  6032.  
  6033.  
  6034.           VT52 Emulated Keypad Keys
  6035.  
  6036.           IBM PC          Emulated        ANSI Numeric    ANSI Alternate
  6037.           Key             VT100/102 Key   Keypad Mode     Keypad Mode
  6038.  
  6039.           F10             0               0               ESC ? p
  6040.           F7              1               1               ESC ? q
  6041.           F8              2               2               ESC ? r
  6042.           Shift F7        3               3               ESC ? s
  6043.           F5              4               4               ESC ? t
  6044.           F6              5               5               ESC ? u
  6045.           Shift F5        6               6               ESC ? v
  6046.           F3              7               7               ESC ? w
  6047.           F4              8               8               ESC ? x
  6048.           Shift F3        9               9               ESC ? y
  6049.           Shift F4        -(minus)        -(minus)        ESC ? m
  6050.           Shift F6        ,(comma)        ,(comma)        ESC ? l
  6051.           Shift F9        .(period)       .(period)       ESC ? n
  6052.           Shift F8        ENTER           ENTER           ESC ? M
  6053.           F1              PF1             ESC P           ESC ? P
  6054.           F2              PF2             ESC Q           ESC ? Q
  6055.           Shift F1        PF3             ESC R           ESC ? R
  6056.           Shift F2        PF4             ESC S           ESC ? S
  6057.  
  6058.  
  6059.  
  6060.  
  6061.  
  6062.  
  6063.  
  6064.  
  6065.  
  6066.  
  6067.  
  6068.  
  6069.                         Copyright 1984,1985 Mark C. DiVecchio       Page 89
  6070.  
  6071.  
  6072.  
  6073.  
  6074.  
  6075.  
  6076.           Responses to Escape Sequences                          PC-VT v8.3
  6077.  
  6078.  
  6079.  
  6080.  
  6081.  
  6082.  
  6083.  
  6084.  
  6085.  
  6086.                                       Appendix D
  6087.  
  6088.                             Responses to Escape Sequences
  6089.  
  6090.  
  6091.  
  6092.             PC-VT  responds  to  several   control  characters  and  Escape
  6093.           sequences.  They are listed  here.   For  a complete description,
  6094.           see Appendix A and B.
  6095.  
  6096.  
  6097.           Elicitor                Response
  6098.  
  6099.           Enquire                 Answerback message.
  6100.           Device Status Report    PC-VT responds with emulator status.
  6101.           Cursor Status Report    Current cursor position is reported.
  6102.           Device Attributes       PC-VT identifies itself as either a
  6103.                                   VT100, a VT102, or a VT52 depending
  6104.                                   on the bits set/reset in the SETUP B
  6105.                                   frame.
  6106.           Identify Terminal       PC-VT identifies itself as either a
  6107.                                   VT100, a VT102, or a VT52 depending
  6108.                                   on the bits set/reset in the SETUP B
  6109.                                   frame.
  6110.  
  6111.  
  6112.  
  6113.  
  6114.  
  6115.  
  6116.  
  6117.  
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.  
  6127.  
  6128.  
  6129.  
  6130.  
  6131.  
  6132.  
  6133.  
  6134.  
  6135.           Page 90       Copyright 1984,1985 Mark C. DiVecchio
  6136.  
  6137.  
  6138.  
  6139.  
  6140.  
  6141.  
  6142.           PC-VT v8.3                            Special ALT Key Definitions
  6143.  
  6144.  
  6145.  
  6146.  
  6147.  
  6148.  
  6149.  
  6150.  
  6151.  
  6152.                                       Appendix E
  6153.  
  6154.                              Special ALT Key Definitions
  6155.  
  6156.  
  6157.  
  6158.             PC-VT uses ALT-F to startup the PC-DOS Command Processor, ALT-Z
  6159.           to send a hangup  command  to  the modem, ALT-H to start the HELP
  6160.           facility, and ALT-X to clear a received XOFF  control  character.
  6161.           You can tell if an XOFF has  been received because PC-VT displays
  6162.           an X on the status line.
  6163.  
  6164.             Additionally, several special ALT key commands are available to
  6165.           the user of PC-VT.  They were  implemented to aid in the debug of
  6166.           this program.  Most  of  these  will  be  useful  only under very
  6167.           special circumstances  but  some  will be of general use.  To use
  6168.           these  commands,  hold  down  the  ALT key and at the  same  time
  6169.           depress the key listed.  They work  only  in  the  communications
  6170.           frame, they  do  not work in the SETUP, DIALING, or MACRO frames.
  6171.           Other than the above mentioned  keys,  the author of this program
  6172.           makes no  claims  or guarantees about these keys and you use them
  6173.           at your own risk.
  6174.  
  6175.           ALT Key plus            Function
  6176.  
  6177.           C               Performs the same  function  as  the CTRL-F8 key.
  6178.                           Terminates PC-VT.  Mostly for PCjr users.
  6179.  
  6180.           E               Echo toggle.  This  key  toggles the state of the
  6181.                           echo  flag.   If  the  host is not  echoing  back
  6182.                           characters, you can  press  ALT-E  and PC-VT will
  6183.                           echo the characters to the display.
  6184.  
  6185.           F               Fork. This key sequence starts up another copy of
  6186.                           Command.COM.  This  is  done  without terminating
  6187.                           PC-VT or breaking the  host connection.  Once the
  6188.                           new Command.COM is  started,  you can run any DOS
  6189.                           function or  other  PC  program.   You  should be
  6190.                           careful that you don't  run  a  program that uses
  6191.                           the  same communications port as PC-VT is  using.
  6192.                           The  other  program  may  leave  the  port in  an
  6193.                           unexpected state.   PC-VT may not then be able to
  6194.                           get control of  the  port again.  Also be careful
  6195.                           that you don't alter any files which PC-VT may be
  6196.                           using.  To  exit from the new copy of Command.COM
  6197.                           and return to  PC-VT,  type "exit" at the command
  6198.  
  6199.  
  6200.  
  6201.                         Copyright 1984,1985 Mark C. DiVecchio       Page 91
  6202.  
  6203.  
  6204.  
  6205.  
  6206.  
  6207.  
  6208.           Special ALT Key Definitions                            PC-VT v8.3
  6209.  
  6210.  
  6211.  
  6212.                           prompt.
  6213.  
  6214.           G               Print current  line.   The  line  containing  the
  6215.                           cursor  is  printed on the selected  printer,  if
  6216.                           present.  Performs the same function  as  receipt
  6217.                           of a "ESC [ ?  1 i" sequence.
  6218.  
  6219.           H               HELP.  Start  up the HELP frame.  Check the index
  6220.                           for more information on the ALT-H key and HELP.
  6221.  
  6222.           I               Complete restart. Performs the same  function  as
  6223.                           receipt of  a "ESC c" sequence.  All features and
  6224.                           tab stops  are reloaded from the USER MEMORY disk
  6225.                           file.  PC-VT then restarts.
  6226.  
  6227.           M               Toggles "Ignore Nulls" mode.   NUL(ASCII  0)  and
  6228.                           DLE(ASCII 127) characters are  not  normally  put
  6229.                           into the communications buffer.  This  switch  on
  6230.                           causes those characters  to  be put in the buffer
  6231.                           just as all other characters.   These  characters
  6232.                           are eventually ignored by PC-VT,  the  difference
  6233.                           is that they now take up  I/O  buffer  space  and
  6234.                           cannot be used as "filler" or timing characters.
  6235.  
  6236.           N               Toggles "Ignore  ESCAPE"  mode.   Received ESCAPE
  6237.                           sequences are not acted upon.  They are displayed
  6238.                           as regular characters on  the screen.  The ESCAPE
  6239.                           character  itself   is   displayed   as  "<ESC>".
  6240.                           Toggling this switch  at  the wrong time may lead
  6241.                           to unpredictable results.  Autowrap is  set  when
  6242.                           this switch is set.
  6243.  
  6244.           O               Performs  the same function as the CTRL-F10  key.
  6245.                           Calls  up  the  MACRO  frame.   Mostly  for  PCjr
  6246.                           users.
  6247.  
  6248.           P               Sends a Form Feed to  the  Line Printer if a line
  6249.                           printer is attached.
  6250.  
  6251.           R               Restart PC-VT.  Clear COMx  port and restart from
  6252.                           the beginning.  Selected features and  tab  stops
  6253.                           are not changed.  Host  connection is not broken.
  6254.                           This  command  is  useful  if you make  the  host
  6255.                           connection  after PC-VT is started and COMx  port
  6256.                           needs to be initialized.   In most cases, though,
  6257.                           PC-VT will be able to initialize the port without
  6258.                           the need for this.
  6259.  
  6260.           T               Clear the screen.  Cursor  not  moved.   Performs
  6261.                           the  same  function as receipt of a "ESC [  2  J"
  6262.                           sequence.
  6263.  
  6264.  
  6265.  
  6266.  
  6267.           Page 92       Copyright 1984,1985 Mark C. DiVecchio
  6268.  
  6269.  
  6270.  
  6271.  
  6272.  
  6273.  
  6274.           PC-VT v8.3                            Special ALT Key Definitions
  6275.  
  6276.  
  6277.  
  6278.           V               Performs the same  function  as  the CTRL-F9 key.
  6279.                           Calls up  the  DIALING  frame.   Mostly  for PCjr
  6280.                           users.
  6281.  
  6282.           X               Reset XOFF Flag.   If  PC-VT has received an XOFF
  6283.                           character, it will not transmit anything.  If you
  6284.                           type a  character,  PC-VT  will  beep  and ignore
  6285.                           you.  This is  part  of the VT10x definition.  If
  6286.                           something happens  and  PC-VT  receives  an  XOFF
  6287.                           because of garbage on the line, you can reset the
  6288.                           XOFF flag by pressing ALT-X.
  6289.  
  6290.           Z               Hang  up  the  phone.  PC-VT  performs  the  same
  6291.                           functions as if you had entered the DIALING frame
  6292.                           and  pressed  F5. That is, the  Hayes  compatible
  6293.                           hang up command is sent to the modem.
  6294.  
  6295.             The following  ALT  keys work only in Numeric Keypad mode ( the
  6296.           default mode).
  6297.  
  6298.           ALT Key plus            Function
  6299.  
  6300.           B               Transmits  the answerback message.  Performs  the
  6301.                           same  function  as receipt of a  Enquire  Control
  6302.                           Character (ASCII 5).
  6303.  
  6304.           D               Turn off  Print  Only  Mode.   Performs  the same
  6305.                           function as receipt of a "ESC [ 4 i" sequence.
  6306.  
  6307.           S               Turn  on  Print Only Mode.  All  characters  sent
  6308.                           from the host are printed on the selected printer
  6309.                           only.  Performs the same function as receipt of a
  6310.                           "ESC [ 5 i" sequence.
  6311.  
  6312.           Q               Report   Cursor  Position.   Performs  the   same
  6313.                           function as receipt of a "ESC [ 6 n" sequence.
  6314.  
  6315.           W               Report   Terminal  Status.   Performs  the   same
  6316.                           function as receipt of a "ESC [ 5 n" sequence.
  6317.  
  6318.           Y               Report  Printer   Status.    Performs   the  same
  6319.                           function  as  receipt  of  a  "ESC  [  ?   15  n"
  6320.                           sequence.
  6321.  
  6322.           U               Report  Device  Attributes.   Performs  the  same
  6323.                           function as receipt of a "ESC [ c" sequence.
  6324.  
  6325.           H               Clear Tab Stop.   Performs  the  same function as
  6326.                           receipt of a "ESC [ 0 g"  sequence.   You  should
  6327.                           use the SETUP A frame.
  6328.  
  6329.  
  6330.  
  6331.  
  6332.  
  6333.                         Copyright 1984,1985 Mark C. DiVecchio       Page 93
  6334.  
  6335.  
  6336.  
  6337.  
  6338.  
  6339.  
  6340.           Special ALT Key Definitions                            PC-VT v8.3
  6341.  
  6342.  
  6343.  
  6344.           J               Set Tab  Stop.   Performs  the  same  function as
  6345.                           receipt of a "ESC  H"  sequence.   You should use
  6346.                           the SETUP A frame.
  6347.  
  6348.           L               Clear All Tab Stops.   Performs the same function
  6349.                           as receipt of a "ESC [ 3 g" sequence.  You should
  6350.                           use the SETUP A frame.
  6351.  
  6352.  
  6353.  
  6354.  
  6355.  
  6356.  
  6357.  
  6358.  
  6359.  
  6360.  
  6361.  
  6362.  
  6363.  
  6364.  
  6365.  
  6366.  
  6367.  
  6368.  
  6369.  
  6370.  
  6371.  
  6372.  
  6373.  
  6374.  
  6375.  
  6376.  
  6377.  
  6378.  
  6379.  
  6380.  
  6381.  
  6382.  
  6383.  
  6384.  
  6385.  
  6386.  
  6387.  
  6388.  
  6389.  
  6390.  
  6391.  
  6392.  
  6393.  
  6394.  
  6395.  
  6396.  
  6397.  
  6398.  
  6399.           Page 94       Copyright 1984,1985 Mark C. DiVecchio
  6400.  
  6401.  
  6402.  
  6403.  
  6404.  
  6405.  
  6406.           PC-VT v8.3                                PC-VT Technical Details
  6407.  
  6408.  
  6409.  
  6410.  
  6411.  
  6412.  
  6413.  
  6414.  
  6415.  
  6416.                                       Appendix F
  6417.  
  6418.                                PC-VT Technical Details
  6419.  
  6420.  
  6421.  
  6422.             This   appendix   describes  some  of  the   details   of   the
  6423.           implementation of PC-VT for the  user  who wishes to interface to
  6424.           the program in some non-standard way.
  6425.  
  6426.             PC-VT has been tested on PC-DOS  1.1, 2.0, 2.1, 3.0, and 3.1 on
  6427.           the IBM PC, the IBM PCXT, the IBM PCAT  and  the IBM PCjr.  PC-VT
  6428.           has not been tested on any compatible nor has it been  tested  on
  6429.           any system with DOS "patches" or auxiliary programs.
  6430.  
  6431.  
  6432.  
  6433.  
  6434.                                        Details
  6435.  
  6436.  
  6437.  
  6438.  
  6439.           BIOS and DOS Calls Used
  6440.  
  6441.  
  6442.             BIOS calls used by PC-VT:
  6443.  
  6444.  
  6445.                   10H     to handle the display of characters and control
  6446.                           sequences while communicating with the host.
  6447.                   11H     to determine the type of monitor on the system
  6448.                           and to determine if a line printer is present.
  6449.                   14H     to initialize the COM port.
  6450.                   16H     to look at the CAPS LOCK, NUM LOCK, and SCROLL
  6451.                           LOCK key status.
  6452.                   17H     to get the printer status and to print
  6453.                           characters.
  6454.                   1AH     to directly read the binary time of day clock.
  6455.  
  6456.             PC-DOS calls used by PC-VT:
  6457.  
  6458.                   21H     the general DOS utility call with AH equal to
  6459.                           6H      to read characters from the keyboard
  6460.                           9H      to display error messages on the screen.
  6461.                           0AH     to read filenames from the keyboard.
  6462.  
  6463.  
  6464.  
  6465.                         Copyright 1984,1985 Mark C. DiVecchio       Page 95
  6466.  
  6467.  
  6468.  
  6469.  
  6470.  
  6471.  
  6472.           PC-VT Technical Details                                PC-VT v8.3
  6473.  
  6474.  
  6475.  
  6476.                           10H     to close disk files.
  6477.                           11H     to check disk for the existence of files.
  6478.                           13H     to delete old download files.
  6479.                           14H     to perform sequential disk reads.
  6480.                           15H     to perform sequential disk writes.
  6481.                           16H     to create new download files.
  6482.                           19H     to get the current default drive.
  6483.                           1AH     to set Disk Transfer Addresses.
  6484.                           25H     to set the interrupt vectors for the
  6485.                                   COM port, the critical error handler
  6486.                                   and the CTRL-BREAK key.
  6487.                           29H     to parse upload/download filenames.
  6488.                           2CH     to get the time of day.
  6489.                   DOS 2.+ routines
  6490.                           2EH     to set VERIFY on.
  6491.                           30H     to determine the DOS version number.
  6492.                           33H     to set/clear BREAK checking.
  6493.                           3CH     to create a file with a path name.
  6494.                           3DH     to open a file with a path name.
  6495.                           3EH     to close a file with a path name.
  6496.                           3FH     to read from a file with a path name.
  6497.                           40H     to write to a file with a path name.
  6498.                           41H     to delete a file with a path name.
  6499.                           47H     to get the current default directory.
  6500.                           48H     to allocate memory for HELP and screen
  6501.                                   saving.
  6502.                           4BH     to start up COMMAND.COM.
  6503.                           4EH     to check for the presence of a file
  6504.                                   with a path name.
  6505.                           54H     to determine the state of the VERIFY
  6506.                                   switch.
  6507.                   22H     to terminate the program if the hardware
  6508.                           configuration does not fit PC-VT requirements.
  6509.                           This is before the CTRL-BREAK handler is
  6510.                           initialized.
  6511.                   23H     to terminate the program and restore the
  6512.                           CTRL-BREAK address in DOS. This is the "normal"
  6513.                           way to terminate PC-VT.
  6514.  
  6515.             An error in either DOS or  the BIOS code, causes a problem with
  6516.           the cursor.  When PC-VT starts, it cannot ascertain  the shape of
  6517.           the cursor due to this error.  Although PC-VT will be able to use
  6518.           either the underline or block cursor, it may not be able to reset
  6519.           the  cursor  to  the  original  size  upon exit.  This will  work
  6520.           correctly when IBM corrects the problem.
  6521.  
  6522.             PC-VT does not "look" into PC-DOS directly for  any reason with
  6523.           the exception of finding the  COM1  and COM2 port address.  PC-VT
  6524.           should be compatible with all future releases of PC-DOS.
  6525.  
  6526.  
  6527.  
  6528.  
  6529.  
  6530.  
  6531.           Page 96       Copyright 1984,1985 Mark C. DiVecchio
  6532.  
  6533.  
  6534.  
  6535.  
  6536.  
  6537.  
  6538.           PC-VT v8.3                                PC-VT Technical Details
  6539.  
  6540.  
  6541.  
  6542.  
  6543.  
  6544.  
  6545.  
  6546.           COM Port Usage
  6547.  
  6548.  
  6549.             In  order  to get the highest speed out of  the  RS-232  ports,
  6550.           PC-VT does direct input/output to those ports.   PC-VT  uses  I/O
  6551.           addresses starting at 3F8H for COM 1 and at 2F8H for COM2.  PC-VT
  6552.           gets  these  address  from  PC-DOS  by  looking at the two  words
  6553.           starting at address 400 (segmented address 40:0) for the starting
  6554.           port addresses for COM1 and COM2 respectively.  Note that the IBM
  6555.           PCjr does not assign  COM  ports  like  the PC. PC-VT has to do a
  6556.           little special work but it  will  keep them straight (jr switches
  6557.           the addresses if the internal modem is installed).
  6558.  
  6559.             PC-VT sends a BREAK to  the host by setting bit 6 of the RS-232
  6560.           Port's Line Control Register for at least one-half  second.   The
  6561.           bit is then cleared.
  6562.  
  6563.             A comment on the 8250 serial  chip; Some of the 8250 chips used
  6564.           in  PC's  and  on  PC compatible serial  ports  do  not  function
  6565.           correctly.   Specifically,  they  do  not   generate   interrupts
  6566.           correctly  to  the  8088.  PC-VT  is  interrupt driven and if  an
  6567.           interrupt  is   lost,  unusual  things  may  happen.   This  lost
  6568.           interrupt caused PC-VT to think that the communications  line  is
  6569.           always busy.  PC-VT tried to send each character  typed but timed
  6570.           out.  I have implemented a software fix recommended  by  National
  6571.           Semiconductor.  I have seen the same situation  with  the  PCAT's
  6572.           serial board which uses the National  16450.  PC-VT  will  handle
  6573.           this new chip with the same software  fix which was installed for
  6574.           the PC.
  6575.  
  6576.             PC-VT will handle ASCII characters for codes greater than  127.
  6577.           This will work only when the COM port is initialized for  8  bits
  6578.           of data transfer.  If a code greater  than 127 is received, PC-VT
  6579.           can display the character defined in the IBM  documentation.   In
  6580.           this way, PC-VT is  compatible  with  RBBS  systems  using  these
  6581.           extended  characters  while  maintaining  compatibility  with  VT
  6582.           terminals.  The "256 char" bit must be set in the SETUP frame for
  6583.           these  extended  characters to be displayed.   Some  hosts  don't
  6584.           strip this 8th bit even  when  communicating  with  plain  ASCII.
  6585.           This will cause some unusual  behavior.   Be careful when you use
  6586.           this feature.
  6587.  
  6588.             PC-VT also does direct I/O to the 8259  Programmable  Interrupt
  6589.           Controller (PIC).  It uses  port  address  21H  for  reading  the
  6590.           interrupt source and address 20H for clearing that interrupt.
  6591.  
  6592.  
  6593.  
  6594.  
  6595.  
  6596.  
  6597.                         Copyright 1984,1985 Mark C. DiVecchio       Page 97
  6598.  
  6599.  
  6600.  
  6601.  
  6602.  
  6603.  
  6604.           PC-VT Technical Details                                PC-VT v8.3
  6605.  
  6606.  
  6607.  
  6608.  
  6609.  
  6610.  
  6611.  
  6612.           Modem Usage
  6613.  
  6614.  
  6615.             If you use an external modem or a  direct  connect,  PC-VT does
  6616.           not require that all 25 lines of the DB-25 connector on  the  COM
  6617.           port be connected.  Actually, only  pin  2 (transmit data), pin 3
  6618.           (receive data), and pin 7  (signal  ground)  need  be  connected.
  6619.           PC-VT does not use Clear to Send (CTS), Data Set Ready  (DSR)  or
  6620.           any other modem status line.  This is the FDX A mode of VT100/102
  6621.           operation.  Since some modems require a basic handshake with  the
  6622.           COM port, PC-VT sends Data Terminal Ready (DTR) and Ready to Send
  6623.           (RTS) out of the  COM  port.   These 2 lines are not cleared when
  6624.           you  terminate  PC-VT.    This   permits  the  connection  to  be
  6625.           maintained while you  go  back  to  DOS  by  terminating PC-VT (a
  6626.           better way to get  into DOS is to use the ALT-F key - this method
  6627.           keeps the communications  buffer  actively  monitoring the line).
  6628.           Be careful because  this  means  that  the phone will not hang up
  6629.           automatically when you terminate PC-VT.   If  you  have  a  Hayes
  6630.           compatible modem, you should use  the  F5 function of the DIALING
  6631.           frame or ALT-Z from the communications frame to be sure.  If your
  6632.           modem is manual, then physically hang up the phone.
  6633.  
  6634.             Receive parity checking, if set, checks not only receive parity
  6635.           but also  data  overrun and framing errors.  PC-VT puts a '!'  in
  6636.           the buffer when a character with bad parity  is received.  Parity
  6637.           checking is normally of and can be enabled in the SETUP B frame.
  6638.  
  6639.  
  6640.  
  6641.  
  6642.           Communications Buffer
  6643.  
  6644.  
  6645.             The communications buffer in PC-VT  is  2048  bytes  long.   To
  6646.           prevent buffer overflow, the XON/XOFF  support  sends  XOFF  when
  6647.           1536 unprocessed characters are in  the  buffer (the 75% point of
  6648.           the  buffer).   Then,  XON  is  sent  when the buffer backlog  is
  6649.           reduced to 204 characters (the 10% point  of the buffer).  If the
  6650.           host ignores the XOFF character transmitted, PC-VT will display a
  6651.           '#' character when the buffer overflows.  All characters received
  6652.           while the buffer is in the overflow condition are discarded.
  6653.  
  6654.             The buffer size can be reduced to 256 bytes by a  selection  in
  6655.           the SETUP B frame.  See the index for "Buffer Size".  The smaller
  6656.           buffer will give you faster response to CTRL-C, CTRL-O and CTRL-Y
  6657.           but some programs which do not handle XON/XOFF  may  not  work as
  6658.           well.
  6659.  
  6660.  
  6661.  
  6662.  
  6663.           Page 98       Copyright 1984,1985 Mark C. DiVecchio
  6664.  
  6665.  
  6666.  
  6667.  
  6668.  
  6669.  
  6670.           PC-VT v8.3                                PC-VT Technical Details
  6671.  
  6672.  
  6673.  
  6674.  
  6675.  
  6676.  
  6677.  
  6678.           PCjr
  6679.  
  6680.  
  6681.             A  comment  on the operation of PC-VT on the  IBM  PCjr;  PC-VT
  6682.           version  7.0  and up will operate on the PCjr.   There  are  some
  6683.           hardware differences which you should be aware of.   Since  PC-VT
  6684.           requires an 80 column screen, the  DOS  mode  command  should  be
  6685.           executed using 'bw80' as the parameter.  This most  likely  means
  6686.           that you cannot use  a TV set for a screen.  If you are using the
  6687.           PCjr internal modem for XMODEM data transfer, don't  forget  that
  6688.           you must set the modem  with a "^NF 4" command.  When the PCjr is
  6689.           doing a disk access, all  other  interrupts are turned off.  This
  6690.           means that if data comes down the serial line, it will  be  lost.
  6691.           For this reason, I do not recommend using ASCII file transfer for
  6692.           receiving a file.  Use XMODEM.  If you  must receive a file using
  6693.           ASCII, PC-VT will send an XOFF  while the PCjr is writing to disk
  6694.           and  will send an XON  once  the  machine  is  ready  to  process
  6695.           interrupts again.  Sending a file using ASCII  mode  should  work
  6696.           ok.  The dialer will work fine if you  change  the  modem dialing
  6697.           command from  ATDT  to  the characters required by the PCjr modem
  6698.           (you will need the PCjr Technical Reference Manual to  completely
  6699.           understand the PCjr's modem).
  6700.  
  6701.             One other  problem  that  some users have with PC-VT running on
  6702.           the PCjr is with  the F8, F9, and F10 keys.  I have not been able
  6703.           to get to the bottom of the problem.  All of the  other  function
  6704.           keys work ok on the PCjr, and  of  course they all work ok on the
  6705.           PC and the AT. The  problem is that when you want to do something
  6706.           like call up the DIALING frame, you  have to press CTRL-F9.  Well
  6707.           on some  PCjr's  you  are ignored.  I've determined that the BIOS
  6708.           never even sends the program  an  interrupt that you have pressed
  6709.           the  key.   If  you  have  one  of  these  PCjrs,  you  have  one
  6710.           alternative.  You use the Function  Shift  feature  of  the  PCjr
  6711.           described on page 5-35 of the PCjr Technical Reference Manual:
  6712.  
  6713.                "Function Lock
  6714.  
  6715.                Concurrently pressing first  the  Fn key and Shift key,
  6716.                and then pressing the Esc key causes  keys 2 thru 11 to
  6717.                shift to their 'Function' states and remain there until
  6718.                the same combination is pressed again."
  6719.  
  6720.             When IBM refers to keys  2 thru 11 they mean the number keys on
  6721.           the  top  row of the keyboard: 1 thru 0. To get CTRL-F8, go  into
  6722.           the 'Function Lock' mode, then press the Ctrl key and the  8  key
  6723.           and then go back out of 'Function Lock' mode.
  6724.  
  6725.  
  6726.  
  6727.  
  6728.  
  6729.                         Copyright 1984,1985 Mark C. DiVecchio       Page 99
  6730.  
  6731.  
  6732.  
  6733.  
  6734.  
  6735.  
  6736.           PC-VT Technical Details                                PC-VT v8.3
  6737.  
  6738.  
  6739.  
  6740.  
  6741.  
  6742.  
  6743.  
  6744.           VMS 4.0
  6745.  
  6746.  
  6747.             Some users of PC-VT have reported problems  with  XMODEM  under
  6748.           VMS version 4.0. Due to some  change made by DEC in that release,
  6749.           an  additional  parameter  must  be  set  using the VMS SET  TERM
  6750.           command.  For each TT line that will be used with PC-VT, you must
  6751.           permanently set the Alternate Type Ahead Buffer.
  6752.  
  6753.             Look at the
  6754.  
  6755.           SET TERM /PERM/ALTYPEAHD
  6756.  
  6757.           command.  This specification will take effect at  your  next  log
  6758.           in.
  6759.  
  6760.             This  command  may  have  to  be  performed by your VMS  system
  6761.           programmers.   Contact   your   DEC   representative   for   more
  6762.           information.
  6763.  
  6764.  
  6765.  
  6766.  
  6767.           "Snow" or Fast Screen Update
  6768.  
  6769.  
  6770.             One of the latest features added to PC-VT  is  a  "snow" screen
  6771.           update for use with the color graphics  adapter.  Normally,  when
  6772.           you do a screen output to the color  graphics  adapter,  the BIOS
  6773.           waits for the  raster  retrace  before  writing  into  the  video
  6774.           memory.  This severely limited the baud rate  which  PC-VT  could
  6775.           handle to about 4800 baud.  Now, if  you select the "snow" update
  6776.           option on the SETUP B frame, PC-VT will write directly into video
  6777.           memory  without  waiting  for  the  retrace  time.   This  causes
  6778.           conflicts between the hardware reading the video memory in  order
  6779.           to  display  its contents and the writing of new  data  into  the
  6780.           memory.  The  conflict  appears  as small white dots all over the
  6781.           screen.  This is "snow".  With this feature on,  PC-VT can handle
  6782.           9600 baud.  This is not an issue  with the IBM Monochrome adapter
  6783.           and Display  as  that video memory is dual-ported and can be read
  6784.           and written to at the same time.   PC-VT could always handle 9600
  6785.           baud with the IBM Monochrome adapter.
  6786.  
  6787.             If you don't like the snow update  feature but would still like
  6788.           PC-VT to use direct memory access (DMA) when saving and restoring
  6789.           frames and  when  switching  to reverse video, you can select the
  6790.           DMA option in the SETUP B  frame.   With  this  selected,  normal
  6791.           output to the screen will be snow free.   This  was  a compromise
  6792.  
  6793.  
  6794.  
  6795.           Page 100      Copyright 1984,1985 Mark C. DiVecchio
  6796.  
  6797.  
  6798.  
  6799.  
  6800.  
  6801.  
  6802.           PC-VT v8.3                                PC-VT Technical Details
  6803.  
  6804.  
  6805.  
  6806.           between full snow update and none at all.
  6807.  
  6808.  
  6809.  
  6810.  
  6811.           XMODEM
  6812.  
  6813.  
  6814.             With the addition of XMODEM file transfer  with  CRC  checking,
  6815.           PC-VT has made  a  commitment  to  accurate  file  transfer.   In
  6816.           support of this, if  you  are  running DOS 2 or later, PC-VT sets
  6817.           the  VERIFY  switch  on  during  its  run.  The VERIFY switch  is
  6818.           restored to its initial value when PC-VT terminates.
  6819.  
  6820.             When  running  XMODEM,  PC-VT  will  automatically  change  the
  6821.           communications to  8  data bits, no parity, 1 stop bit (8-N-1) if
  6822.           you  are  not  already  set  at  that protocol.  PC-VT will  then
  6823.           restore the  protocol  to  your value when the XMODEM transfer is
  6824.           complete.
  6825.  
  6826.             Public domain programs are  available  with  the XMODEM program
  6827.           written for the VAX running VMS, the VAX  running  4.2  UNIX, and
  6828.           the PDP-11 running RSX.  The author of  PC-VT can supply you with
  6829.           these public domain programs.
  6830.  
  6831.  
  6832.  
  6833.  
  6834.                                     Miscellaneous
  6835.  
  6836.  
  6837.             Since the IBM PC does not have some  of  the  special character
  6838.           and line drawing set characters, PC-VT  makes  use  of  the  best
  6839.           available representation.  See the description for the "ESC )  0"
  6840.           sequence for the description of the selected representation.
  6841.  
  6842.             The NUM LOCK key will act per the IBM documentation.
  6843.  
  6844.             Undefined or illegal Escape control sequences are ignored.
  6845.  
  6846.             PC-VT controls the Speaker to cause it  to beep by doing direct
  6847.           I/O to addresses 42H,43H, and 61H.
  6848.  
  6849.             The ALT-F key will call up another copy  of COMMAND.COM leaving
  6850.           PC-VT in memory and asleep.  The memory remains  occupied and the
  6851.           interrupt driven communications buffer remains active so that any
  6852.           characters which come down the  line  will be buffered.  Once you
  6853.           get the new DOS prompt, you can do almost anything that  you  can
  6854.           do from the regular DOS prompt.  When you wish to return to PC-VT
  6855.           simply type  the  word:  exit.  PC-VT will awaken and restore the
  6856.           screen.  Any characters  which  have come down the communications
  6857.           line while DOS was running will  be displayed but only if you did
  6858.  
  6859.  
  6860.  
  6861.                         Copyright 1984,1985 Mark C. DiVecchio      Page 101
  6862.  
  6863.  
  6864.  
  6865.  
  6866.  
  6867.  
  6868.           PC-VT Technical Details                                PC-VT v8.3
  6869.  
  6870.  
  6871.  
  6872.           not run  a  communications  program using the same COM port while
  6873.           you were in DOS.
  6874.  
  6875.             If you are using DOS 2.x or 3.x, you should not have executed a
  6876.           "BREAK ON" command.  If you have,  PC-VT  resets  BREAK  checking
  6877.           while it is running and  restores  the checking, if necessary, as
  6878.           it terminates.
  6879.  
  6880.             PC-VT makes some use of  dynamic  memory  when  possible.   The
  6881.           program permanently occupies about  42K  bytes.   For HELP, PC-VT
  6882.           grabs about  19K  bytes  via  DOS  call 48H. If the memory is not
  6883.           available, the HELP key (ALT-H) will be ignored.  By implementing
  6884.           PC-VT in  this  manner, it will run on machines with small memory
  6885.           sizes but  if  more memory is available, PC-VT will make full use
  6886.           of it.  These dynamic memory allocation routines work  under  DOS
  6887.           2+ only.  HELP does not function on machines running DOS 1.
  6888.  
  6889.             PC-VT has a  switch  in  the  SETUP frame which lets you select
  6890.           either a VMS host or a UNIX host.  If VMS is selected, PC-VT sets
  6891.           up the keypad and  function  keys  for  the  EDT  editor and uses
  6892.           CTRL-Z as the End  of  File  character.   When  the  UNIX mode is
  6893.           selected, PC-VT sets  up  the  keypad  for the VI editor and uses
  6894.           CTRL-D as the End of File indicator to the host.
  6895.  
  6896.             The  color  graphics   adapter   does   not  handle  underlined
  6897.           characters.   Since  the VT10x has an  attribute  for  underline,
  6898.           PC-VT handles this  in  a  special  way.   On  the color graphics
  6899.           adapter, PC-VT displays underlined text as bold and blinking.  Of
  6900.           course,  on  the  IBM  Monochrome Display, underline  is  handled
  6901.           without a problem.
  6902.  
  6903.             Auto repeat in the IBM PC is handled  by  the  keyboard.  PC-VT
  6904.           approximates the repeat off mode by clearing the keyboard  buffer
  6905.           on  the  receipt of the auto repeat off ESCAPE  sequence  and  by
  6906.           clearing  the  keyboard  buffer  after  reading  each  character.
  6907.           Repeat on mode is left entirely to the keyboard and the BIOS.
  6908.  
  6909.  
  6910.  
  6911.  
  6912.                             PC-VT Private Escape Sequences
  6913.  
  6914.  
  6915.             For those of you  into  such  things,  PC-VT  contains  several
  6916.           private Escape sequences which cause it to  do a few things which
  6917.           normally can only be done by pressing  keys on the keyboard (i.e.
  6918.           done by the user of the program).
  6919.  
  6920.  
  6921.  
  6922.  
  6923.  
  6924.  
  6925.  
  6926.  
  6927.           Page 102      Copyright 1984,1985 Mark C. DiVecchio
  6928.  
  6929.  
  6930.  
  6931.  
  6932.  
  6933.  
  6934.           PC-VT v8.3                                PC-VT Technical Details
  6935.  
  6936.  
  6937.  
  6938.  
  6939.  
  6940.  
  6941.  
  6942.           Automatic File Upload and Download
  6943.  
  6944.  
  6945.             First are two which perform the  same effect as if the user had
  6946.           pressed :
  6947.  
  6948.           CTRL-F3         Receive File    ESC [ ? 21 h
  6949.           CTRL-F4         Transmit File   ESC [ ? 22 h
  6950.  
  6951.             These would be useful in some programed file  transfer  routine
  6952.           which the user would only have to respond to a program running on
  6953.           the  host.   It would send down the Escape sequence  without  the
  6954.           user having to concern himself with it.
  6955.  
  6956.  
  6957.  
  6958.  
  6959.           Sending a Carriage Return
  6960.  
  6961.  
  6962.             The next private sequence, causes  PC-VT  to  send  a  carriage
  6963.           return (ASCII 13) to the host.
  6964.  
  6965.                           Send CR         ESC [ ? 23 h
  6966.  
  6967.  
  6968.  
  6969.  
  6970.           Filename Download from the Host
  6971.  
  6972.  
  6973.             Another pair of Escape  codes  does  something  a  little  more
  6974.           complicated.  When you start a file transfer, PC-VT  always  asks
  6975.           the user to type in the PC's filename.  With these two sequences,
  6976.           you a can prearm PC-VT with  a filename from the host.  Then when
  6977.           a file transfer is started, PC-VT will pull this filename out and
  6978.           put  it  in the keyboard buffer just as if the user had typed  it
  6979.           in.  Start the filename with the sequence:
  6980.  
  6981.                           Start buffer    ESC [ ? 24 h
  6982.  
  6983.           Then send the filename with the =a,  =x,  =c, or =t on the end as
  6984.           required.  Always end the filename with a carriage return just as
  6985.           the  user would type it  in.   The  maximum  buffer  size  is  80
  6986.           characters including the carriage  return.  Excess characters are
  6987.           ignored.  Then end it with this:
  6988.  
  6989.  
  6990.  
  6991.  
  6992.  
  6993.                         Copyright 1984,1985 Mark C. DiVecchio      Page 103
  6994.  
  6995.  
  6996.  
  6997.  
  6998.  
  6999.  
  7000.           PC-VT Technical Details                                PC-VT v8.3
  7001.  
  7002.  
  7003.  
  7004.                           End buffer      ESC [ ? 24 l
  7005.  
  7006.           Now if you send down a start file receive sequence:
  7007.  
  7008.                           Receive File    ESC [ ? 21 h
  7009.  
  7010.           PC-VT will use  the  filename  which  you sent.  If the buffer is
  7011.           loaded with a  filename,  PC-VT  won't  prompt  the  user for the
  7012.           filename.  The user will be  prompted  though if on receive file,
  7013.           the file already exists.  The user will be asked the "Do you want
  7014.           to overwrite" message.   On  file  transmit,  the  user  will  be
  7015.           prompted for another filename if  the  filename  which  the  host
  7016.           sends is not found on disk.
  7017.  
  7018.             With this scheme, the user would not have to type in  the  PC's
  7019.           filename.  The host computer can send it  down the line.  You can
  7020.           see  that  this  can  be  useful   for   some   type   of   batch
  7021.           upload/download.  I'll leave  it  up  to  you to make good use of
  7022.           it.
  7023.  
  7024.             Here is what this might look like:
  7025.  
  7026.           ESC [ ? 24 h a : F I L E N A M E . T X T = x CR
  7027.           ESC [ ? 24 l                                        (spaces shown
  7028.           ESC [ ? 22 h                                        for clarity only)
  7029.  
  7030.           <now PC-VT will transmit the file a:FILENAME.TXT using
  7031.           the XMODEM protocol>
  7032.  
  7033.           This sequence can be sent by the C language code:
  7034.  
  7035.           printf("\033[?24h%s\r\033[?24l\n\033[?22h",filename);
  7036.  
  7037.  
  7038.  
  7039.  
  7040.           Change Default Directory
  7041.  
  7042.  
  7043.             The next  private  sequence  performs the same effect as if the
  7044.           user had pressed :
  7045.  
  7046.           CTRL-F2         Change Default Directory        ESC [ ? 25 h
  7047.  
  7048.             This will cause PC-VT to ask for  a new default disk directory.
  7049.           The download filename sequence  shown  above  could  be  used  to
  7050.           prearm PC-VT with a directory name.
  7051.  
  7052.             With this scheme, the  user  would  not have to type in the new
  7053.           default directory.  The host computer can send it  down the line.
  7054.           You  can  see  that  this  can  be useful for some type of  batch
  7055.           upload/download.
  7056.  
  7057.  
  7058.  
  7059.           Page 104      Copyright 1984,1985 Mark C. DiVecchio
  7060.  
  7061.  
  7062.  
  7063.  
  7064.  
  7065.  
  7066.           PC-VT v8.3                                PC-VT Technical Details
  7067.  
  7068.  
  7069.  
  7070.             Here is what this might look like:
  7071.  
  7072.           ESC [ ? 24 h a : \ m y d i r e \ s u b CR
  7073.           ESC [ ? 24 l                                        (spaces shown
  7074.           ESC [ ? 25 h                                        for clarity only)
  7075.  
  7076.           <now PC-VT will change the default directory to a:\mydir\sub>
  7077.  
  7078.           This sequence can be sent by the C language code:
  7079.  
  7080.           printf("\033[?24h%s\r\033[?24l\n\033[?25h",directory);
  7081.  
  7082.  
  7083.  
  7084.  
  7085.           Terminate PC-VT Remotely
  7086.  
  7087.  
  7088.             You can cause PC-VT to terminate by sending
  7089.  
  7090.                           ESC [ ? 26 h
  7091.  
  7092.           This is just as if the user had pressed CTRL-F8 on the keyboard.
  7093.  
  7094.  
  7095.  
  7096.  
  7097.           Start Up Command.COM
  7098.  
  7099.  
  7100.             You can cause PC-VT to start up  another copy of Command.COM by
  7101.           sending:
  7102.  
  7103.                           ESC [ ? 27 h
  7104.  
  7105.           This is just as  if  the  user pressed ALT-F on the keyboard.  He
  7106.           must type in the word "exit" to return to PC-VT.
  7107.  
  7108.  
  7109.  
  7110.  
  7111.  
  7112.  
  7113.  
  7114.  
  7115.  
  7116.  
  7117.  
  7118.  
  7119.  
  7120.  
  7121.  
  7122.  
  7123.  
  7124.  
  7125.                         Copyright 1984,1985 Mark C. DiVecchio      Page 105
  7126.  
  7127.  
  7128.  
  7129.  
  7130.  
  7131.  
  7132.           User-Supported Software                                PC-VT v8.3
  7133.  
  7134.  
  7135.  
  7136.  
  7137.  
  7138.  
  7139.  
  7140.  
  7141.  
  7142.                                       Appendix G
  7143.  
  7144.                                User-Supported Software
  7145.  
  7146.  
  7147.  
  7148.             This  program  and  documentation  are copyrighted by  Mark  C.
  7149.           DiVecchio.
  7150.  
  7151.             Permission to copy:
  7152.  
  7153.             Individuals,  clubs  and  other  non-profit  organizations  are
  7154.           granted permission by the author to freely copy  this program and
  7155.           documentation and share it with their members, so long as:
  7156.  
  7157.             -  No  price  is  charged  for the software  or  documentation.
  7158.                However, a distribution cost may be charged for  the cost of
  7159.                the diskette, so long as it is not more than $9 total.
  7160.  
  7161.             -  Club members  are informed of the user-supported concept and
  7162.                encouraged to support it with their copyright fees.
  7163.  
  7164.             -  The program and documentation are not modified  in  any  way
  7165.                and are always distributed together.
  7166.  
  7167.             Schools, universities, and other non-profit  organizations  are
  7168.           granted permission  by  the author to copy PC-VT for use on other
  7169.           computers and at other locations in the organization, so long as:
  7170.  
  7171.             -  The full fee of $35 has been paid for the original  copy  of
  7172.                the program.
  7173.  
  7174.             -  A usage fee of $40 is  paid  for  each  additional  building
  7175.                where PC-VT will be used.  Within each  building  for  which
  7176.                the usage fee has been paid, PC-VT  may be copied freely for
  7177.                use on any other computer in  that  building.   Contact  the
  7178.                author if you would like to make other arrangements.
  7179.  
  7180.             Commercial users of this program are  required  to  submit  the
  7181.           copyright fee.  Commercial and site licenses as  well  as  source
  7182.           code licenses  are  available.   The site license is handled as a
  7183.           graduated per copy fee.  Contact the author.
  7184.  
  7185.  
  7186.  
  7187.  
  7188.  
  7189.  
  7190.  
  7191.           Page 106      Copyright 1984,1985 Mark C. DiVecchio
  7192.  
  7193.  
  7194.  
  7195.  
  7196.  
  7197.  
  7198.           PC-VT v8.3                                User-Supported Software
  7199.  
  7200.  
  7201.  
  7202.           The User-Supported concept:
  7203.  
  7204.             User-Supported Software
  7205.  
  7206.             If you are using this  program and find it to be of value, your
  7207.           copyright fee will be appreciated.  ($35 is suggested)
  7208.  
  7209.                                   Mark C. DiVecchio
  7210.                                   9067 Hillery Drive
  7211.                                  San Diego, CA  92126
  7212.  
  7213.             Regardless of whether  you  pay  the  copyright  fee,  you  are
  7214.           encouraged to use, copy and share this program.
  7215.  
  7216.             User-supported  software  is  an  experiment  in   distributing
  7217.           computer programs, based on these beliefs:
  7218.  
  7219.             -  That the value and utility  of  software is best assessed by
  7220.                the user on his/her own system.
  7221.  
  7222.             -  That  the  creation of personal computer  software  can  and
  7223.                should be supported by the computing community.
  7224.  
  7225.             -  That copying of  programs  should be encouraged, rather than
  7226.                restricted.
  7227.  
  7228.             Anyone may request  a  copy  of  a  user-supported  program  by
  7229.           sending a blank double sided double density, 360Kb formatted disk
  7230.           (without DOS) to  the  author  of  the  program.   An  addressed,
  7231.           postage-paid   return   mailer  must  accompany  the   disk   (no
  7232.           exceptions, please).  A  copy  of the program, with documentation
  7233.           on the disk, will be sent by return mail.  The program will carry
  7234.           a  notice  suggesting  the  payment of a  copyright  fee  to  the
  7235.           program's  author.   Paying  that  copyright  fee  is  completely
  7236.           voluntary on the part of each non-commercial user.
  7237.  
  7238.             Free distribution of software and voluntary payment for its use
  7239.           eliminates costs for advertising and copy protection schemes.
  7240.  
  7241.             Users obtain quality software at reduced cost.  They can try it
  7242.           out before buying, and do so at their own pace and in the comfort
  7243.           of  their  own home or office.  The best programs  will  survive,
  7244.           based purely on their quality and usefulness.
  7245.  
  7246.             Please join the experiment.
  7247.  
  7248.             If you believe in these ideals, the copyright  fee is solicited
  7249.           to help make them work.
  7250.  
  7251.             The following invoice is provided for those  of you who wish an
  7252.           invoice for your tax records.
  7253.  
  7254.  
  7255.  
  7256.  
  7257.                         Copyright 1984,1985 Mark C. DiVecchio      Page 107
  7258.  
  7259.  
  7260.  
  7261.  
  7262.  
  7263.  
  7264.           User-Supported Software                                PC-VT v8.3
  7265.  
  7266.  
  7267.  
  7268.  
  7269.                                  --------------------
  7270.                                        INVOICE
  7271.                                  --------------------
  7272.  
  7273.  
  7274.  
  7275.  
  7276.                       Purchased from:
  7277.                            Mark C. DiVecchio
  7278.                            9067 Hillery Drive
  7279.                            San Diego, CA  92126
  7280.                            187-40-4873
  7281.  
  7282.                DATE:     /     /                     Invoice No. 101
  7283.                --------------------------------------------------------------
  7284.                                                     PRICE     PRICE
  7285.                PRODUCT                    QTY       EACH      EXTENDED
  7286.                -------------------------  ---       -----     --------
  7287.  
  7288.                PC-VT Terminal Emulator
  7289.                   Copyright Fee                     $35
  7290.                   v8.3
  7291.  
  7292.                PC-VT Distribution Disk               $9
  7293.                   Includes Postage and
  7294.                   Handling
  7295.  
  7296.                Copy of PC-VT and Documentation      N/C
  7297.                   on your Preformatted 360K DSDD
  7298.                   Diskette Returned in your
  7299.                   Postage Paid Self Addressed
  7300.                   Mailer
  7301.                                        --------------------------------------
  7302.                                                   SUBTOTAL
  7303.  
  7304.                6% Sales Tax (CA Residents only)
  7305.  
  7306.                                        --------------------------------------
  7307.                                        PLEASE PAY THIS AMOUNT           TOTAL
  7308.                   -----------------------------------------------------------
  7309.  
  7310.  
  7311.  
  7312.                   Please make check payable to :Mark C. DiVecchio
  7313.  
  7314.  
  7315.                   You may retain this Invoice for your tax records.
  7316.  
  7317.  
  7318.  
  7319.  
  7320.  
  7321.  
  7322.  
  7323.           Page 108      Copyright 1984,1985 Mark C. DiVecchio
  7324.  
  7325.  
  7326.  
  7327.  
  7328.  
  7329.  
  7330.           PC-VT v8.3                                User-Supported Software
  7331.  
  7332.  
  7333.  
  7334.  
  7335.  
  7336.  
  7337.  
  7338.  
  7339.  
  7340.  
  7341.  
  7342.  
  7343.  
  7344.  
  7345.  
  7346.  
  7347.  
  7348.  
  7349.  
  7350.  
  7351.  
  7352.  
  7353.  
  7354.  
  7355.  
  7356.  
  7357.  
  7358.  
  7359.  
  7360.  
  7361.  
  7362.  
  7363.  
  7364.  
  7365.  
  7366.  
  7367.  
  7368.  
  7369.  
  7370.  
  7371.  
  7372.  
  7373.  
  7374.  
  7375.  
  7376.  
  7377.  
  7378.  
  7379.  
  7380.  
  7381.  
  7382.  
  7383.  
  7384.  
  7385.  
  7386.  
  7387.  
  7388.  
  7389.                         Copyright 1984,1985 Mark C. DiVecchio      Page 109
  7390.  
  7391.  
  7392.  
  7393.  
  7394.  
  7395.  
  7396.           PC-VT
  7397.  
  7398.  
  7399.  
  7400.  
  7401.  
  7402.  
  7403.  
  7404.                                          Index
  7405.  
  7406.  
  7407.           ! - Parity Error Character 33, 98
  7408.           "Snow" Screen Update 100
  7409.           # - Buffer Overflow Character 98
  7410.           8 Bit ASCII 35, 97
  7411.           8250 UART 97
  7412.           8259 PIC 97
  7413.           Application Keypad mode 11
  7414.           ASCII file transfer with handshake 42
  7415.           Autorepeat 31, 85, 87
  7416.           Backspace Key 33
  7417.           Beep 4
  7418.           BREAK 25
  7419.           Buffer Size 34, 98
  7420.           Bypass Character 42
  7421.           Cable, Interface 98
  7422.           Calling COMMAND.COM 91
  7423.           CAPS LOCK 24
  7424.           Changing the default directory 52
  7425.           Clearing all Tabs 26
  7426.           Clearing COM port 92
  7427.           Clearing the Screen 92
  7428.           COM Port Addressing 97
  7429.           COM Port Selection 28, 35
  7430.           Communications Buffer Handling 98
  7431.           Communications Frame 7
  7432.           CTRL-D Functions 40, 41, 42, 47
  7433.           CTRL-Z Functions 40, 41, 47
  7434.           Cursor Problem 96
  7435.           Default directory, changing 24
  7436.           Dialing Directory Fetching 57
  7437.           Dialing Directory Saving 57
  7438.           Dialing Facility 25
  7439.           DIALING key 54
  7440.           ECHO Local/Remote Toggle 91
  7441.           EDT Editor 14
  7442.           Error Messages 37
  7443.           Error Messages - Dialing Directory 60
  7444.           Error Messages - Macro Directory 68
  7445.           Fast Screen Update 100
  7446.           Feature Defaults 31
  7447.           Feature Saving 27
  7448.           Hang Up 93
  7449.           Hanging up the phone 58
  7450.           HELP 2, 25, 92
  7451.           Kermit 51
  7452.           Line Printer Selection 34
  7453.  
  7454.  
  7455.  
  7456.  
  7457.  
  7458.  
  7459.  
  7460.  
  7461.  
  7462.           PC-VT
  7463.  
  7464.  
  7465.  
  7466.           Line Turnaround Character 42
  7467.           Logon Macros 56
  7468.           LPT Selection 34
  7469.           Macro Directory Fetching 67
  7470.           Macro Directory Saving 67
  7471.           Macro Facility 25
  7472.           MACRO KEYS 64
  7473.           Margin Bell 31
  7474.           NO SCROLL 24
  7475.           NUL Character Key 24
  7476.           NUM LOCK 12, 24
  7477.           Parity Checking 33
  7478.           PC-VT= 6, 36, 59, 64, 67
  7479.           PCjr 99
  7480.           PCjr Function Keys 99
  7481.           Printer Echo 25
  7482.           Printing the Screen 25
  7483.           Receiving (Downloading) Files 24
  7484.           Restart 92
  7485.           Running Programs from PC-VT 91
  7486.           SCROLL LOCK 24
  7487.           Selecting Autowrap 32
  7488.           Selecting Cursor Mode 31
  7489.           Selecting Defaults 27
  7490.           Selecting Features 28
  7491.           Selecting Local Echo 33
  7492.           Selecting Modem Parameters 29
  7493.           Selecting Modem Speed 29
  7494.           Selecting Screen Background 31
  7495.           Selecting Stop Bits 33
  7496.           Selecting Tab Defaults 27
  7497.           Setting and Clearing Tabs 26
  7498.           Setting Answerback Message 30
  7499.           SETUP 24
  7500.           SETUP key 26
  7501.           Smart Macros 66
  7502.           Status Line 3, 7, 24, 32, 62
  7503.           Terminating PC-VT 10, 25
  7504.           Time of Day 35
  7505.           Transmitting (Uploading) Files 24
  7506.           UK Character Set 32
  7507.           Using the IBM fixed disk 6
  7508.           VI Editor 21
  7509.           VMS 4.0 100
  7510.           VT BACKSPACE Key 24
  7511.           VT CURSOR keys 11
  7512.           VT DELETE key 11
  7513.           VT FUNCTION keys 11
  7514.           VT LINEFEED Key 24
  7515.           VT100/VT102 Selection 34
  7516.           VT52 Selection 32
  7517.           XMODEM 45, 50
  7518.           XOFF-How to clear it 93
  7519.  
  7520.  
  7521.  
  7522.  
  7523.  
  7524.  
  7525.  
  7526.  
  7527.  
  7528.           PC-VT
  7529.  
  7530.  
  7531.  
  7532.           XON/XOFF 32
  7533.  
  7534.  
  7535.  
  7536.  
  7537.  
  7538.  
  7539.  
  7540.  
  7541.  
  7542.  
  7543.  
  7544.  
  7545.  
  7546.  
  7547.  
  7548.  
  7549.  
  7550.  
  7551.  
  7552.  
  7553.  
  7554.  
  7555.  
  7556.  
  7557.  
  7558.  
  7559.  
  7560.  
  7561.  
  7562.  
  7563.  
  7564.  
  7565.  
  7566.  
  7567.  
  7568.  
  7569.  
  7570.  
  7571.  
  7572.  
  7573.  
  7574.  
  7575.  
  7576.  
  7577.  
  7578.  
  7579.  
  7580.  
  7581.  
  7582.  
  7583.  
  7584.  
  7585.  
  7586.  
  7587.  
  7588.  
  7589.  
  7590.  
  7591.  
  7592.  
  7593.  
  7594.           PC-VT
  7595.  
  7596.  
  7597.  
  7598.  
  7599.  
  7600.  
  7601.  
  7602.                              Table of Contents
  7603.  
  7604.  
  7605.           Chapter 1 Introduction                                      1
  7606.  
  7607.           Chapter 2 Required Hardware and Software                    5
  7608.  
  7609.           Chapter 3 Installing and Starting PC-VT                     6
  7610.  
  7611.              3.1 Floppy Diskette Installation                         6
  7612.  
  7613.                 3.1.1 Fixed Disk Installation                         6
  7614.                 3.1.2 Starting PC-VT                                  7
  7615.  
  7616.           Chapter 4 Stopping PC-VT                                    10
  7617.  
  7618.           Chapter 5 Keyboard assignments                              11
  7619.  
  7620.           Chapter 6 SETUP Frames                                      26
  7621.  
  7622.              6.1 SETUP A                                              26
  7623.              6.2 SETUP B                                              28
  7624.  
  7625.                 6.2.1 SETUP B Features and Defaults                   31
  7626.  
  7627.           Chapter 7 The PARAMS.DAT File                               36
  7628.  
  7629.              7.1 Creation                                             36
  7630.              7.2 Location                                             36
  7631.              7.3 Updating                                             36
  7632.              7.4 Error Messages                                       37
  7633.  
  7634.           Chapter 8 Transmitting and Receiving Files                  39
  7635.  
  7636.                 8.0.1 Transmitting ASCII Files (Uploading)            39
  7637.  
  7638.                    8.0.1.1 Uploading with Handshake                   42
  7639.                    8.0.1.2 Example of a transmission session          44
  7640.                    8.0.1.3 A Useful VAX .COM Upload file              44
  7641.  
  7642.                 8.0.2 Transmitting Binary Files (Uploading)           45
  7643.                 8.0.3 Receiving ASCII Files (Downloading)             46
  7644.  
  7645.                    8.0.3.1 Example of a receive session               48
  7646.                    8.0.3.2 A Useful VAX .COM Download file            49
  7647.  
  7648.                 8.0.4 Receiving Binary Files (Downloading)            50
  7649.  
  7650.              8.1 Kermit File Transfer                                 51
  7651.  
  7652.  
  7653.  
  7654.  
  7655.  
  7656.  
  7657.  
  7658.  
  7659.  
  7660.           PC-VT
  7661.  
  7662.  
  7663.  
  7664.              8.2 Changing the Default Directory                       52
  7665.  
  7666.           Chapter 9 DIALING Frame                                     54
  7667.  
  7668.              9.1 Instructions for DIALING                             54
  7669.              9.2 Details on How to Save SETUP Information             58
  7670.              9.3 The DIALER.DAT File                                  59
  7671.              9.4 Creation                                             59
  7672.              9.5 Location                                             59
  7673.              9.6 Updating                                             60
  7674.              9.7 Error Messages                                       60
  7675.  
  7676.           Chapter 10 PC-VT Status Line                                62
  7677.  
  7678.           Chapter 11 Macro Frame                                      64
  7679.  
  7680.              11.1 Instructions for Macro                              64
  7681.              11.2 The MACRO.DAT File                                  67
  7682.              11.3 Creation                                            67
  7683.              11.4 Location                                            67
  7684.              11.5 Updating                                            68
  7685.              11.6 Error Messages                                      68
  7686.  
  7687.           Chapter 12 Error Messages                                   70
  7688.  
  7689.           Appendix A List of Control Characters                       73
  7690.  
  7691.           Appendix B Received Escape Sequences                        76
  7692.  
  7693.           Appendix C Escape Sequences Transmitted                     88
  7694.  
  7695.           Appendix D Responses to Escape Sequences                    90
  7696.  
  7697.           Appendix E Special ALT Key Definitions                      91
  7698.  
  7699.           Appendix F PC-VT Technical Details                          95
  7700.  
  7701.           Appendix G User-Supported Software                          106
  7702.  
  7703.  
  7704.  
  7705.  
  7706.  
  7707.  
  7708.  
  7709.  
  7710.  
  7711.  
  7712.  
  7713.  
  7714.  
  7715.  
  7716.  
  7717.  
  7718.  
  7719.  
  7720.  
  7721.  
  7722.